@lang('app.select_role')
@include('components.input.form-select', [
'label' => __(''),
'arr_type' => 'assoc',
'name' => 'role',
'options' => $roles,
'mandatory' => false,
'placeholder' => __('app.select_role'),
])
{{--
Location
--}}
@include('components.input.form-input', [
'label' => 'Name',
'name' => 'name',
'placeholder' => 'Full Name',
'mandatory' => true,
])
@include('components.input.form-input', [
'label' => 'Company',
'name' => 'company',
'placeholder' => 'PetroChina International Jabung Ltd',
'value' => '',
'mandatory' => true,
])
@include('components.input.form-select', [
'label' => __('app.select_department'),
'arr_type' => 'assoc',
'name' => 'department',
'options' => $departments,
'mandatory' => true,
'placeholder' => __('app.select_department'),
])
@php
$gender = ['Male', 'Female'];
@endphp
@include('components.input.form-select', [
'label' => __('app.select_gender'),
'arr_type' => 'linear',
'name' => 'gender',
'options' => $gender,
'mandatory' => true,
'placeholder' => __('app.select_gender'),
])
@include('components.input.form-select', [
'label' => 'Nationality',
'name' => 'nationality',
'options' => $countries,
'arr_type' => 'assoc',
'value_type' => 'string',
'mandatory' => true,
])
@include('components.input.form-textarea', [
'label' => 'Address',
'name' => 'address',
'placeholder' => 'Address',
'value' => '',
'mandatory' => false,
])