Viewing file: create.blade.php (3.46 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{ Form::open(array('url' => 'driver/store','enctype' => 'multipart/form-data')) }} <div class="modal-body">
<div class="row"> <div class="form-group col-md-12"> {{ Form::label('name', __('Name'),['class'=>'form-label']) }} {{ Form::text('name', '', array('class' => 'form-control','required'=>'required')) }} </div> <div class="form-group col-md-12"> {{ Form::label('email', __('Email'),['class'=>'form-label']) }} {{ Form::text('email', '', array('class' => 'form-control','required'=>'required')) }} </div> <div class="form-group col-md-12"> {{Form::label('phone_number',__('Phone Number'),array('class'=>'form-label')) }} {{ Form::number('phone_number', '', array('class' => 'form-control','required'=>'required')) }} </div> <div class="form-group col-md-12"> {{ Form::label('password', __('Password'), array('class' => 'form-label')) }} {{ Form::password('password', array('class' => 'form-control', 'required' => 'required')) }} </div> <div class="form-group col-md-12"> {{Form::label('profile_image',__('Profile Image'),array('class'=>'form-label')) }} <br> {{Form::file('driver_profile_image',null,array('class'=>'form-control'))}} </div>
<div class="form-group col-md-6"> {{Form::label('license_info',__('License info'),array('class'=>'form-label')) }} <br> {{ Form::text('license_info', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-6"> {{Form::label('license_info_file',__('License info(file)'),array('class'=>'form-label')) }} <br> <input type="file" name="license_info_file" class="form-control" id="license_info_file"> </div>
<div class="form-group col-md-6"> {{Form::label('insurance_info',__('Insurance info'),array('class'=>'form-label')) }} <br> {{ Form::text('insurance_info', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-6"> {{Form::label('insurance_info_file',__('Insurance info(file)'),array('class'=>'form-label')) }} <br> <input type="file" name="insurance_info_file" class="form-control" id="insurance_info_file"> </div>
<div class="form-group col-md-12"> {{ Form::label('driver_language', __('Driver Language'),['class'=>'form-label']) }} {{ Form::text('driver_language', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-12"> {{ Form::label('driver_record', __('Driving Record'),['class'=>'form-label']) }} <textarea name="driver_record" class="form-control" id="" cols="30" rows="10"></textarea> </div> <div class="form-group col-md-12"> {{Form::label('insurance_info_file',__('Driving Record(file)'),array('class'=>'form-label')) }} <br> <input type="file" name="driver_record_file" class="form-control" id="driver_record_file"> </div> </div> </div> <div class="modal-footer"> <input type="button" value="{{__('Cancel')}}" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="{{__('Create')}}" class="btn btn-primary"> </div> {{ Form::close() }}
|