- {!! __('Dashboard') !!}
- {!! __('rider_list') !!}
- {!! __('add_rider') !!}
{!! __('add_rider') !!}
{!! __('add_rider') !!}
@if (count($errors) > 0)
@endif
@if(session()->has('message'))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ session()->get('message') }}
@endif
{!! Form::open(['route' => 'rider.store', 'method' => 'post', 'id' => 'ajax-submit', 'files' => 'true']) !!}
{!! Form::close() !!}
{!! Form::label('full_name', 'Full name') !!}
{!! Form::text('name', null, array('class' => 'form-control','id' => 'full_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')) !!}
{{-- ✓ Valid
--}}
{!! Form::hidden('dial_code', null, array('class' => 'form-control','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','required' => 'required','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
{!! Form::checkbox('is_activated', '1',true) !!}
{!! Form::label('Active', 'Active') !!}