{{ html()->label('Event Type')->class('form-label') }} {{ html()->select('type')->class('form-select')->placeholder('Select Event Type') }}
{{ html()->label('Title')->class('form-label') }} {{ html()->text('title')->class('form-control')->placeholder('Event Title') }}
{{ html()->label('Date')->class('form-label') }}
{{ html()->text('date')->class('form-control flatpickr flatpickr-input')->id('event-start-date')->placeholder('Select Event Date') }}
{{ html()->label('Start Time')->class('form-label') }} {{ html()->time('start_time')->class('form-control')->placeholder('Event Start Time') }}
{{ html()->label('End Time')->class('form-label') }} {{ html()->time('end_time')->class('form-control')->placeholder('Event End Time') }}
{{ html()->label('Location')->class('form-label') }} {{ html()->text('location')->class('form-control')->placeholder('Event Location') }}
{{ html()->label('Description')->class('form-label') }} {{ html()->textarea('description')->class('form-control')->placeholder('Event Description')->attributes(['rows' => 3]) }}
{{ html()->label('Remarks')->class('form-label') }} {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->button($editable ? 'Update' : 'Add Event', 'submit')->class('btn btn-success') }}