{{ (Auth::user()->user_type == 1) ? 'Add New User' : 'Add New Personnel' }}
{!! Form::open(['route' => ['users.store'], 'method' => 'POST', 'class' => 'form-horizontal', 'id' => 'addNewUserForm', 'enctype' => 'multipart/form-data']) !!}
{{ Form::label('first_name', 'First Name', []) }} * {{ Form::text('first_name', '', ['class' => 'form-control', 'id' => 'first_name', 'autocomplete' => 'off', 'placeholder' => 'First Name', 'required']) }}
{{ Form::label('last_name', 'Last Name', []) }} * {{ Form::text('last_name', '', ['class' => 'form-control', 'id' => 'last_name', 'autocomplete' => 'off', 'placeholder' => 'Last Name', 'required']) }}
{{ Form::label('other_names', 'Other Names', []) }} {{ Form::text('other_names', '', ['class' => 'form-control', 'id' => 'other_names', 'autocomplete' => 'off', 'placeholder' => 'Other Names']) }}
{{ Form::label('gender', 'Gender', []) }} * {{ Form::select( //SELECT FORM 'gender', //name array( //options '' => '~~SELECT~~', 'MALE' => 'Male', 'FEMALE' => 'Female', ), '', //value ['id' => 'gender', 'class' => 'form-control', 'required'] //attributes ) }}
{{ Form::label('email', 'Email', []) }} * {{ Form::email('email', '', ['class' => 'form-control', 'id' => 'email', 'autocomplete' => 'off', 'placeholder' => 'Email', 'required']) }}
{{ Form::label('dial_code', 'Dial Code', []) }} * {{ Form::select( //SELECT FORM 'dial_code', //name $dialCodesList, '+260', //value ['id' => 'dial_code', 'class' => 'form-control', 'data-toggle' => 'select2', 'required'] //attributes ) }}
{{ Form::label('phone_number', 'Phone Number', []) }} * {{ Form::text('phone_number', '', ['class' => 'form-control', 'id' => 'phone_number', 'autocomplete' => 'off', 'placeholder' => 'Phone Number', 'required']) }}
{{ Form::label('nationality', 'Nationality', []) }} * {{ Form::select( //SELECT FORM 'nationality', //name $nationalitiesList, 'Zambian', //value ['id' => 'nationality', 'class' => 'form-control', 'data-toggle' => 'select2', 'required'] //attributes ) }}
{{ Form::label('identification_document', 'Identification Document', []) }} * {{ Form::select( //SELECT FORM 'identification_document', //name array( //options '' => '~~SELECT~~', 'PASSPORT' => 'PASSPORT', 'NRC' => 'NRC', 'DRIVERS LICENSE' => 'DRIVERS LICENSE', ), '', //value ['id' => 'identification_document', 'class' => 'form-control', 'required'] //attributes ) }}
{{ Form::label('identification_number', 'Identification Number', []) }} * {{ Form::text('identification_number', '', ['class' => 'form-control', 'id' => 'identification_number', 'autocomplete' => 'off', 'placeholder' => 'Identification Number', 'required']) }}
{!! Form::close() !!}