{!! Form::text('fullname', null , ['class' => 'form-control' , 'placeholder' => trans('dashboard.user.username')]) !!}
{!! Form::text('phone', null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.general.phone')]) !!}
{!! Form::password('password', ['class' => 'form-control' , 'placeholder' => trans('dashboard.general.password')]) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control' , 'placeholder' => trans('dashboard.general.password_confirmation')]) !!}
{!! Form::email('email', null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.general.email')]) !!}
{!! Form::text('vehicle_number', isset($driver) && $driver->driver ? $driver->driver->vehicle_number : null, ['class' => 'form-control' , 'placeholder' => trans('dashboard.driver.vehicle_number')]) !!}
@if (isset($driver) && $driver->image) @else @endif
{!! Form::select("country_id",$countries, isset($driver) ? $driver->profile->country_id : null, ['class' => 'select2 form-control' , 'placeholder' => trans('dashboard.country.country') , 'onchange' => 'getCities(this.value)']) !!}
@if (isset($driver) && isset($cities))
{!! Form::select("city_id",$cities, $driver->profile->city_id, ['class' => 'select2 form-control' , 'onchange' => 'getBranches(this.value)' , 'placeholder' => trans('dashboard.city.city')]) !!}
@endif
@if (isset($driver) && isset($branches))
{!! Form::select("branch_list[]",$branches, null, ['class' => 'select2 form-control' , 'multiple' , 'data-placeholder' => trans('dashboard.branch.branches')]) !!}
@endif
{!! Form::radio('is_active', 1, isset($driver) && $driver->is_active ? 'checked' : null) !!} {{ trans('dashboard.user.active') }}
{!! Form::radio('is_active', 0, isset($driver) && ! $driver->is_active ? 'checked' : null) !!} {{ trans('dashboard.user.not_active') }}
{!! Form::radio('is_ban', 1, isset($driver) && $driver->is_ban ? 'checked' : null) !!} {{ trans('dashboard.user.ban') }}
{!! Form::radio('is_ban', 0, isset($driver) && ! $driver->is_ban ? 'checked' : null) !!} {{ trans('dashboard.user.not_ban') }}
{!! Form::textarea('ban_reason', null , ['class' => 'form-control' , 'placeholder' => trans('dashboard.user.ban_reason')]) !!}
@section('vendor_styles') @endsection @section('page_styles') @endsection @section('vendor_scripts') @endsection @section('page_scripts') @endsection