@include('admin.layouts.forms.fields.text', [ 'text_name' => 'title', 'text_value' => $reminder?->title, 'label_name' => __('Title'), ])
@include('admin.layouts.forms.fields.textarea', [ 'text_name' => 'description', 'text_value' => $reminder?->description, 'label_name' => __('Description'), 'not_req' => true, ])
@include('admin.layouts.forms.fields.select', [ 'label_name' => __('Category'), 'select_name' => 'category', 'select_id' => 'my-reminder-category', 'select_value' => $reminder?->category, 'select_function' => $categoryOptions, ])
@include('admin.layouts.forms.fields.text', [ 'text_name' => 'remind_at', 'text_value' => $remindAtValue, 'date_type' => 'datetime-local', 'label_name' => __('Remind At'), ])
@include('admin.layouts.forms.fields.select', [ 'label_name' => __('Repeat'), 'select_name' => 'repeat_rule', 'select_value' => $repeatValue, 'select_function' => $repeatOptions, 'not_req' => true, ])
@include('admin.layouts.forms.fields.text', [ 'text_name' => 'repeat_until', 'text_value' => $repeatUntilValue, 'date_type' => 'date', 'label_name' => __('Repeat Until'), 'not_req' => true, ])
{{-- Shown only for a work reminder; the creator is always added, so they are not in the list. --}}
@include('admin.layouts.forms.fields.multi_select', [ 'label' => __('Assigned Employees'), 'select_name' => 'employee_ids', 'select_value' => $selectedEmployeeIds, 'select_function' => $employeeOptions, 'not_req' => true, ])
@include('admin.layouts.forms.buttons.form-save')