phpvms/resources/views/admin/subfleets/fields.blade.php

32 lines
1020 B
PHP
Raw Normal View History

<!-- Airline Id Field -->
2017-07-05 22:55:36 +08:00
<div class="form-group col-sm-6">
{!! Form::label('airline_id', 'Airline:') !!}
2017-07-05 22:55:36 +08:00
{!! Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) !!}
</div>
<!-- Name Field -->
2017-07-05 22:55:36 +08:00
<div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
</div>
<!-- Type Field -->
2017-07-05 22:55:36 +08:00
<div class="form-group col-sm-6">
{!! Form::label('type', 'Type:') !!}
{!! Form::text('type', null, ['class' => 'form-control']) !!}
</div>
2017-07-05 22:55:36 +08:00
<!-- Fuel Type Field -->
<div class="form-group col-sm-6">
{!! Form::label('fuel_type', 'Fuel Type:') !!}
{!! Form::select('fuel_type', $fuel_types, null , ['class' => 'form-control select2']) !!}
</div>
<!-- Submit Field -->
<div class="form-group col-sm-12">
<div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
<a href="{!! route('admin.subfleets.index') !!}" class="btn btn-default">Cancel</a>
</div>
</div>