@inject('roster_helper', 'App\Helpers\RosterHelper')
@inject('document_type_helper', 'App\Helpers\DocumentTypeHelper')
{{ ym_input([
'label' => __('form.Document Title'),
'type' => 'text',
'name' => 'document_title',
]) }}
{{ ym_select([
'label' => __('form.Select Roster'),
'type' => 'select',
'name' => 'roster_id',
'required' => true,
'options' => $roster_helper->dropdown(),
'value' => $model->roster_id,
]) }}
{{ ym_select([
'label' => __('form.Select Document Type'),
'type' => 'select',
'name' => 'doc_type_id',
'options' => $document_type_helper->dropdown(),
'value' => $model->doc_type_id,
]) }}
{{ ym_select([
'label' => __('form.Select Is Required?'),
'type' => 'select',
'name' => 'is_require',
'options' => config('dropdown.yes_no'),
'value' => $model->is_required,
]) }}
{{ ym_textarea([
'label' => __('form.Remarks'),
'name' => 'remarks',
]) }}