2017-06-18 06:25:36 +08:00
|
|
|
<!-- Airline Id Field -->
|
2017-07-12 06:44:12 +08:00
|
|
|
<div class="form-group col-sm-5">
|
2017-06-18 06:25:36 +08:00
|
|
|
{!! Form::label('airline_id', 'Airline:') !!}
|
2017-07-12 06:44:12 +08:00
|
|
|
{!! Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Flight Number Field -->
|
2017-07-12 06:44:12 +08:00
|
|
|
<div class="form-group col-sm-5">
|
2017-06-18 06:25:36 +08:00
|
|
|
{!! Form::label('flight_number', 'Flight Number:') !!}
|
|
|
|
{!! Form::text('flight_number', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-07-12 06:44:12 +08:00
|
|
|
<!-- Active Field -->
|
|
|
|
<div class="form-group col-sm-2">
|
|
|
|
{!! Form::label('active', 'Active:') !!}
|
|
|
|
{!! Form::checkbox('active', $flight->active, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-06-18 06:25:36 +08:00
|
|
|
<!-- Route Code Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('route_code', 'Route Code:') !!}
|
|
|
|
{!! Form::text('route_code', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Route Leg Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('route_leg', 'Route Leg:') !!}
|
|
|
|
{!! Form::text('route_leg', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-07-12 06:44:12 +08:00
|
|
|
<!--
|
|
|
|
SAME ROW
|
|
|
|
-->
|
|
|
|
|
2017-06-18 06:25:36 +08:00
|
|
|
<!-- Dpt Airport Id Field -->
|
2017-07-12 06:44:12 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{!! Form::label('dpt_airport_id', 'Departure Airport:') !!}
|
|
|
|
{!! Form::select('dpt_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Arr Airport Id Field -->
|
2017-07-12 06:44:12 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{!! Form::label('arr_airport_id', 'Arrival Airport:') !!}
|
|
|
|
{!! Form::select('arr_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Alt Airport Id Field -->
|
2017-07-12 06:44:12 +08:00
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{!! Form::label('alt_airport_id', 'Alt Airport:') !!}
|
|
|
|
{!! Form::select('alt_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
</div>
|
|
|
|
|
2017-07-12 06:44:12 +08:00
|
|
|
<!--
|
|
|
|
END SAME ROW
|
|
|
|
-->
|
2017-06-18 06:25:36 +08:00
|
|
|
|
|
|
|
<!-- Dpt Time Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
2017-07-12 06:44:12 +08:00
|
|
|
{!! Form::label('dpt_time', 'Departure Time:') !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
{!! Form::text('dpt_time', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Arr Time Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
2017-07-12 06:44:12 +08:00
|
|
|
{!! Form::label('arr_time', 'Arrival Time:') !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
{!! Form::text('arr_time', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-07-12 06:44:12 +08:00
|
|
|
<!-- Route Field -->
|
2017-06-18 06:25:36 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2017-07-12 06:44:12 +08:00
|
|
|
{!! Form::label('route', 'Route:') !!}
|
|
|
|
{!! Form::text('route', null, ['class' => 'form-control']) !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
</div>
|
|
|
|
|
2017-07-12 06:44:12 +08:00
|
|
|
<!-- Notes Field -->
|
2017-06-18 06:25:36 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2017-07-12 06:44:12 +08:00
|
|
|
{!! Form::label('notes', 'Notes:') !!}
|
|
|
|
{!! Form::text('notes', null, ['class' => 'form-control']) !!}
|
2017-06-18 06:25:36 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
|
|
|
|
<a href="{!! route('admin.flights.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|