@row([
'type' => 'textinput',
'field' => 'name',
])
@row([
'type' => 'textinput',
'field' => 'username',
])
@row([
'type' => 'textinput',
'field' => 'email',
'options' => [
'input_type' => 'email'
]
])
@row([
'type' => 'select',
'field' => 'role_id',
'title' => 'Role',
'options' => [
'placeholder' => [
'title' => 'Please Select',
'value' => ''
],
'value_key' => 'id',
'list' => $roles
]
])
@if(!empty($id))
@endif
@row([
'type' => 'textinput',
'field' => 'new_password',
'title' => 'Password',
'remark' => 'At least 8 characters',
'options' => [
'input_type' => 'password',
]
])
@row([
'type' => 'textinput',
'field' => 'new_password_confirmation',
'title' => 'Password Confirmation',
'options' => [
'input_type' => 'password',
]
])
@if(!empty($id))
@row([
'type' => 'textinput',
'field' => 'current_admin_password',
'options' => [
'input_type' => 'password',
]
])
@endif
@include('admin.base.status')