- {!! __('Dashboard') !!}
- {!! __('rider_list') !!}
- {!! __('edit_rider') !!}
{!! __('edit_rider') !!}
{!! __('edit_rider') !!}
@if (count($errors) > 0)
@endif
@if(session()->has('message'))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ session()->get('message') }}
@endif
{!! Form::model($rider, ['route' => ['rider.update', $rider->id], 'method' => 'post', 'id' => 'ajax-submit','files' => true]) !!}
{!! Form::close() !!}
{!! Form::label('name', 'Full name') !!}
{!! Form::text('name', null, array('class' => 'form-control','id' => 'name','required' => 'required', 'autofocus' => 'autofocus','placeholder' => 'Full name'))!!}
{!! Form::label('Email', 'Email') !!}
{!! Form::email('email',null, array('class' => 'form-control','id' => 'email','required' => 'required','placeholder' => 'Email','readonly' => true)) !!}
{!! Form::label('phone', __('phone')) !!}
{!! Form::text('phone', null, ['class' => 'form-control', 'id'=>'phone', 'placeholder' => 'eg: 789467654']) !!}
{!! Form::hidden('dial_code', null, ['id' => 'dial_code']) !!}
{!! Form::label('Address', 'Address') !!}
{!! Form::textarea('address', null, array('class' => 'form-control','id' => 'full_name','required' => 'required', 'autofocus' => 'autofocus','placeholder' => 'Enter Address','rows' => '2','cols' => '20'))!!}
{!! Form::label('Country', 'Country') !!}
{!! Form::select('country', $countries, null, ['class' => 'form-control select2']) !!}
{!! Form::label('Language', 'Language') !!}
{!! Form::select('language', ['English' => 'English', 'French' => 'French'], 'E', array('class' => 'form-control','id' => 'language','required' => 'required')); !!}
{!! Form::label('Password', 'Password') !!}
{!! Form::password('password', ['class' => 'form-control awesome','id' => 'password','placeholder' => 'Password']) !!}
{!! Form::label('profile_pic', __('profile_pic')) !!}
{!! Form::file('profile_pic',array('class' => 'custom-file-input','id' => 'profile_pic')) !!}
@if ($errors->has('file'))
{{ $errors->first('file') }}
@endif
{!! Html::image(apiImage($rider->profile_pic,env('UPLOAD_USER_PATH')),'No Image',array( 'width' => 100, 'height' => 100 )) !!}
is_activated==1 ? 'checked' : '' }}>
{!! Form::label('Active', 'Active') !!}