2017-11-23 10:03:49 +08:00
|
|
|
<div class="row">
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="col-lg-12">
|
|
|
|
<!-- Icao Field -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('icao', 'ICAO:') !!}
|
|
|
|
<a href="#" class="airport_data_lookup">Lookup</a>
|
|
|
|
{!! Form::text('icao', null, [
|
|
|
|
'id' => 'airport_icao', 'class' => 'form-control',
|
|
|
|
'rv-value' => 'airport.icao'
|
|
|
|
]) !!}
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('iata', 'IATA:') !!}
|
|
|
|
{!! Form::text('iata', null, ['class' => 'form-control', 'rv-value' => 'airport.iata']) !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('name', 'Name:') !!}
|
|
|
|
{!! Form::text('name', null, ['class' => 'form-control', 'rv-value' => 'airport.name']) !!}
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('location', 'Location:') !!}
|
|
|
|
{!! Form::text('location', null, ['class' => 'form-control', 'rv-value' => 'airport.city']) !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('country', 'Country:') !!}
|
|
|
|
{!! Form::text('country', null, ['class' => 'form-control', 'rv-value' => 'airport.country']) !!}
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('tz', 'Timezone:') !!}
|
|
|
|
{!! Form::select('tz', $timezones, null, ['class' => 'select2']); !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2017-12-31 23:42:31 +08:00
|
|
|
<div class="form-group col-sm-4">
|
2017-12-08 07:22:15 +08:00
|
|
|
{!! Form::label('lat', 'Latitude:') !!}
|
|
|
|
{!! Form::number('lat', null, ['class' => 'form-control', 'step' => '0.000001', 'rv-value' => 'airport.lat']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-12-31 23:42:31 +08:00
|
|
|
<div class="form-group col-sm-4">
|
2017-12-08 07:22:15 +08:00
|
|
|
{!! Form::label('lon', 'Longitude:') !!}
|
|
|
|
{!! Form::number('lon', null, ['class' => 'form-control', 'step' => '0.000001', 'rv-value' => 'airport.lon']) !!}
|
|
|
|
</div>
|
2017-12-31 23:42:31 +08:00
|
|
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
{!! Form::label('hub', 'Hub:') !!}
|
|
|
|
{!! Form::hidden('hub', 0) !!}
|
|
|
|
{!! Form::checkbox('hub', null) !!}
|
|
|
|
</div>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
2017-12-07 06:07:25 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="row">
|
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="pull-right">
|
|
|
|
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
|
|
|
|
<a href="{!! route('admin.airports.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-23 10:03:49 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
</div>
|