{{ html()->label('Title')->class('form-label') }} {{ html()->text('title')->class('form-control')->placeholder('Event Title')->required() }} {{ html()->div('Please Enter Event Title')->class('invalid-feedback') }}
{{ html()->label('Event Type')->class('form-label') }} {{ html()->select('type', config('constants.event_type_options'))->class('form-select select2')->placeholder('Event Type')->required() }} {{ html()->div('Please Choose Type')->class('invalid-feedback') }}
{{ html()->label('Location')->class('form-label') }} {{ html()->text('location')->class('form-control')->placeholder('Event Location') }}
{{ html()->label('Start Date')->class('form-label') }}
{{ html()->text('start_date')->class('form-control')->id('event-start-date')->placeholder('Event Start Date')->attributes([ 'data-provider' => 'flatpickr', 'data-date-format' => 'Y-m-d', 'data-enable-time' => '', ])->required() }}
{{ html()->label('End Date')->class('form-label') }}
{{ html()->text('end_date')->class('form-control')->id('event-end-date')->placeholder('Event End Date')->attributes([ 'data-provider' => 'flatpickr', 'data-date-format' => 'Y-m-d', 'data-enable-time' => '', ]) }}
{{--
{{ html()->label('Start Time')->class('form-label') }}
{{ html()->text('start_time')->class('form-control')->placeholder('Event Start Time')->attributes(['data-provider' => 'timepickr', 'data-time-basic' => 'true']) }}
{{ html()->label('End Time')->class('form-label') }}
{{ html()->text('end_time')->class('form-control')->placeholder('Event End Time')->attributes(['data-provider' => 'timepickr', 'data-time-basic' => 'true']) }}
--}}
{{ html()->label('Description')->class('form-label') }} {{ html()->textarea('description')->class('form-control ckeditor-classic') }}
Publish
{{ html()->label('Status')->class('form-label') }} {{ html()->select('status', $status)->class('form-control select2') }}
@push('js') @endpush