@include('admin.components.form.input', [
'label' => __('Event Name') . '*',
'name' => 'name',
'value' => $data->name,
])
@include('admin.components.form.input', [
'label' => __('Host') . '*',
'name' => 'host',
'value' => $data->host,
])
@include('admin.components.form.input', [
'label' => __('Description') . '*',
'name' => 'description',
'value' => $data->description,
])
@include('admin.components.form.input', [
'label' => __('Chat Link') . '*',
'name' => 'chat_link',
'value' => $data->chat_link,
])
@include('admin.components.form.input', [
'label' => __('Radio Link') . '*',
'name' => 'radio_link',
'value' => $data->radio_link,
])
@include('admin.components.form.input', [
'label' => __('Start Time') . '*',
'type' => 'time',
'name' => 'start_time',
'value' => $data->start_time,
])
@include('admin.components.form.input', [
'label' => __('End Time') . '*',
'type' => 'time',
'name' => 'end_time',
'value' => $data->end_time,
])
@include('admin.components.form.switcher', [
'label' => __('Status'),
'name' => 'status',
'value' => $data->status ?? 1,
'options' => ['Enable' => 1, 'Disable' => 0],
])
@include('admin.components.form.input-file', [
'label' => __('Image'),
'name' => 'image',
'class' => 'file-holder',
'old_files_path' => files_asset_path('schedule'),
'old_files' => $data->image,
])