Set flight type in admin
This commit is contained in:
@@ -33,48 +33,59 @@ SAME ROW
|
||||
-->
|
||||
|
||||
<div class="row">
|
||||
<!-- Dpt Airport Id Field -->
|
||||
<div class="form-group col-sm-4">
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
{!! Form::label('level', 'Flight Type:') !!}
|
||||
{!! Form::select('flight_type', $flight_types, null, ['class' => 'form-control select2']) !!}
|
||||
<p class="text-danger">{{ $errors->first('flight_type') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
{!! Form::label('dpt_airport_id', 'Departure Airport:') !!} <span class="required">*</span>
|
||||
{!! Form::select('dpt_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
|
||||
<p class="text-danger">{{ $errors->first('dpt_airport_id') }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Arr Airport Id Field -->
|
||||
<div class="form-group col-sm-4">
|
||||
<div class="form-group col-sm-3">
|
||||
{!! Form::label('arr_airport_id', 'Arrival Airport:') !!} <span class="required">*</span>
|
||||
{!! Form::select('arr_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
|
||||
<p class="text-danger">{{ $errors->first('arr_airport_id') }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Alt Airport Id Field -->
|
||||
<div class="form-group col-sm-4">
|
||||
<div class="form-group col-sm-3">
|
||||
{!! Form::label('alt_airport_id', 'Alt Airport:') !!}
|
||||
{!! Form::select('alt_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Dpt Time Field -->
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
{!! Form::label('dpt_time', 'Departure Time:') !!}
|
||||
{!! Form::text('dpt_time', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<!-- Arr Time Field -->
|
||||
<div class="form-group col-sm-3">
|
||||
{!! Form::label('arr_time', 'Arrival Time:') !!}
|
||||
{!! Form::text('arr_time', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
<div class="form-group col-sm-2">
|
||||
{!! Form::label('level', 'Flight Level:') !!}
|
||||
{!! Form::text('level', null, ['class' => 'form-control']) !!}
|
||||
<p class="text-danger">{{ $errors->first('level') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-2">
|
||||
{!! Form::label('distance', 'Distance:') !!}
|
||||
{!! Form::text('distance', null, ['class' => 'form-control']) !!}
|
||||
<p class="text-danger">{{ $errors->first('distance') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
<div class="form-group col-sm-2">
|
||||
{!! Form::label('level', 'Flight Level:') !!}
|
||||
{!! Form::text('level', null, ['class' => 'form-control']) !!}
|
||||
<p class="text-danger">{{ $errors->first('level') }}</p>
|
||||
|
||||
Reference in New Issue
Block a user