Viewing file: create.blade.php (4.08 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{ Form::open(array('url' => 'taxi','enctype' => 'multipart/form-data')) }} <div class="modal-body"> <div class="row"> <div class="form-group col-md-12"> {{ Form::label('brand_name', __('Brand Name'),['class'=>'form-label']) }} {{ Form::text('brand_name', '', array('class' => 'form-control','required'=>'required')) }} </div> <div class="form-group col-md-12"> {{Form::label('model',__('Model'),array('class'=>'form-label')) }} {{ Form::text('model', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-12"> {{Form::label('year',__('Year'),array('class'=>'form-label')) }} {{ Form::text('year', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-12"> {{Form::label('color',__('Color'),array('class'=>'form-label')) }} <br> {{Form::text('color',null,array('class'=>'form-control'))}} </div>
<div class="form-group col-md-12"> {{Form::label('no_of_seats',__('No Of Seats'),array('class'=>'form-label')) }} {{ Form::text('no_of_seats', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-12"> {{Form::label('vin',__('VIN'),array('class'=>'form-label')) }} {{ Form::text('vin', '', array('class' => 'form-control','required'=>'required')) }} </div>
<div class="form-group col-md-6"> {{Form::label('vehicle_image',__('Vehicle Image'),array('class'=>'form-label')) }} <br> {{Form::file('vehicle_image',null,array('class'=>'form-control'))}} </div>
<div class="form-group col-md-6"> {{Form::label('liecnse',__('Vehicle Liecnse'),array('class'=>'form-label')) }} <br> {{Form::file('liecnse',null,array('class'=>'form-control'))}} </div>
<div class="form-group col-md-6"> {{Form::label('TE_info',__('Tag Expiration Info'),array('class'=>'form-label')) }} <br> {{Form::file('TE_info',null,array('class'=>'form-control'))}} </div>
<div class="form-group col-md-6"> {{Form::label('insurance_info',__('Insurance Info'),array('class'=>'form-label')) }} <br> {{Form::file('insurance_info',null,array('class'=>'form-control'))}} </div>
<div class="form-group col-md-12"> {{ Form::label('choose_driver', __('Choose Driver'),['class'=>'form-label']) }} <select class="form-control select" required="required" id="driver_id" name="driver_id"> <option selected>{{__('Select Driver')}}</option> @if (isset($drivers) && $drivers) @foreach($drivers as $driver) <option value="{{ $driver->id }}">{{ $driver->name }}</option> @endforeach @endif
</select> </div>
<div class="form-group col-md-12"> {{ Form::label('vehicle_type', __('Vehicle Type'), ['class' => 'form-label']) }} <br> <div class="form-check form-check-inline"> {{ Form::radio('vehicle_type', 'Private', null, ['class' => 'form-check-input', 'id' => 'flexRadioDefault1']) }} {{ Form::label('flexRadioDefault1', __('Private'), ['class' => 'form-check-label']) }} </div> <div class="form-check form-check-inline"> {{ Form::radio('vehicle_type', 'Non Private', null, ['class' => 'form-check-input', 'id' => 'flexRadioDefault2']) }} {{ Form::label('flexRadioDefault2', __('Non Private'), ['class' => 'form-check-label']) }} </div> </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() }}
|