2017-11-23 01:52:02 +08:00
|
|
|
<div class="row">
|
2017-06-23 09:55:45 +08:00
|
|
|
|
2017-11-23 01:52:02 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('name', 'Name:') !!}
|
|
|
|
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
2017-11-23 01:52:02 +08:00
|
|
|
</div>
|
2017-06-23 09:55:45 +08:00
|
|
|
|
2017-11-23 01:52:02 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('type', 'Type:') !!}
|
|
|
|
{!! Form::text('type', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('type') }}</p>
|
2017-11-23 01:52:02 +08:00
|
|
|
</div>
|
2017-06-23 09:55:45 +08:00
|
|
|
|
2018-02-21 11:53:50 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('airline_id', 'Airline:') !!}
|
|
|
|
{!! Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) !!}
|
|
|
|
<p class="text-danger">{{ $errors->first('airline_id') }}</p>
|
|
|
|
</div>
|
|
|
|
|
2017-11-23 01:52:02 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('fuel_type', 'Fuel Type:') !!}
|
|
|
|
{!! Form::select('fuel_type', $fuel_types, null , ['class' => 'form-control select2']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('fuel_type') }}</p>
|
2017-11-23 01:52:02 +08:00
|
|
|
</div>
|
2017-07-05 22:55:36 +08:00
|
|
|
|
2017-11-23 01:52:02 +08:00
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="pull-right">
|
2018-01-04 02:52:01 +08:00
|
|
|
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
|
2017-11-23 01:52:02 +08:00
|
|
|
<a href="{!! route('admin.subfleets.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|
2017-07-03 04:11:27 +08:00
|
|
|
</div>
|
2017-06-23 09:55:45 +08:00
|
|
|
</div>
|