{{ Form::label('first_name', Trans("users.first_name")) }}
{{ Form::text('first_name',null, ['class' => 'form-control', 'placeholder' => Trans("users.first_name"),"required"=>"required"]) }}
@if($errors->first('first_name'))
{{$errors->first('first_name')}}
@endif
{{ Form::label('last_name', Trans("users.last_name")) }}
{{ Form::text('last_name',null, ['class' => 'form-control', 'placeholder' => Trans("users.last_name"),"required"=>"required"]) }}
@if($errors->first('last_name'))
{{$errors->first('last_name')}}
@endif
{{ Form::label('sex',Trans("users.sex")) }}
{{ Form::select('sex',[
'm' => trans('customers.gender.m'),
'f' => trans('customers.gender.f')
], null, ['class' => 'form-control select2']) }}
{{ Form::label('username',Trans("users.username")) }}
{{ Form::text('username',null, ['class' => 'form-control', 'placeholder' => Trans("users.username"),"required"=>"required"]) }}
@if($errors->first('username'))
{{$errors->first('username')}}
@endif
{{ Form::label('password',Trans("users.password")) }}
{{ Form::password('password', ['class' => 'form-control', 'placeholder' => Trans("users.password"),"required"=>"required"]) }}
@if($errors->first('password'))
{{$errors->first('password')}}
@endif
{{ Form::label('tel',Trans("users.tel")) }}
{{ Form::text('tel',null, ['class' => 'form-control', 'placeholder' => Trans("users.tel")]) }}
@if($errors->first('tel'))
{{$errors->first('tel')}}
@endif
{{ Form::label('Roles',Trans("users.roles")) }}
{{ Form::select('role_id',$roles,$checked, ['class' => 'select2 form-control']) }}
{{ Form::label('Status',Trans("users.status")) }}
{{ Form::select('status', [
'active' => 'Active',
'suspended' => 'Suspended',
"inactive" => 'Inactive'
], $selected, ['class' => 'form-control']) }}