@extends('layouts.simple_admin_base')
@section('stylesheets')
@endsection
@section('content')
{{ 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('username', 'Username', []) }}
{{ Form::text('username', '', ['class' => 'form-control', 'id' => 'username', 'autocomplete' => 'off', 'placeholder' => 'Username', 'required']) }}
{{ Form::label('email', 'Email', []) }}
{{ Form::email('email', '', ['class' => 'form-control', 'id' => 'email', 'autocomplete' => 'off', 'placeholder' => 'Email', 'required']) }}
{{ Form::label('role_id', 'Role', []) }}
{{ Form::select( //SELECT FORM
'role_id', //name
$rolesList,
'', //value
['id' => 'role_id', 'class' => 'form-control', 'required'] //attributes
)
}}
{{ 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::label('company_id', 'Company', []) }}
{{ Form::select( //SELECT FORM
'company_id', //name
$companiesList,
'', //value
['id' => 'company_id', 'class' => 'form-control', 'required'] //attributes
)
}}
{!! Form::close() !!}
@endsection
@section('scripts')
@endsection