{!! Form::label('unit_id', 'Unit Kerja *', [], false) !!}
{!! Form::select('unit_id', $units, null, ['class' => 'form-control select2', 'placeholder' => 'Pilih Unit Kerja', 'required' => true]) !!}
{!! Form::label('role_id', 'Role *', [], false) !!}
{!! Form::select('role_id', $roles, null, ['class' => 'form-control', 'placeholder' => 'Pilih Role', 'required' => true]) !!}
{!! Form::label('name', 'Nama Lengkap *', [], false) !!}
{!! Form::text('name', null, ['class' => 'form-control', 'maxlength' => 255, 'required' => true]) !!}
{!! Form::label('nip', 'NIP') !!}
{!! Form::number('nip', null, ['class' => 'form-control', 'maxlength' => '99999999999999999999']) !!}
Optional, Tidak Mandatori jika di isi Minimal Karakter 18 dan Maksimal Karakter 20
{!! Form::label('username', 'Username *', [], false) !!}
{!! Form::text('username', null, ['class' => 'form-control', 'maxlength' => 255, 'required' => true]) !!}
@if (Request::routeIs('users.create'))
{!! Form::label('password', 'Password *', [], false) !!}
{!! Form::password('password', ['class' => 'form-control', 'minlength' => 6, 'maxlength' => 12, 'required' => true]) !!}
Minimal Karakter 6 dan Maksimal Karakter 12
@endif
{!! Form::label('email', 'E-Mail') !!}
{!! Form::email('email', null, ['class' => 'form-control', 'maxlength' => 255]) !!}
Optional, Tidak Mandatori