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">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('icao', 'ICAO:') !!} <span class="required">*</span>
|
2017-12-08 07:22:15 +08:00
|
|
|
<a href="#" class="airport_data_lookup">Lookup</a>
|
|
|
|
{!! Form::text('icao', null, [
|
2018-01-01 04:20:52 +08:00
|
|
|
'id' => 'airport_icao', 'class' => 'form-control'
|
2017-12-08 07:22:15 +08:00
|
|
|
]) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('icao') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('name', 'Name:') !!} <span class="required">*</span>
|
|
|
|
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</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">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('lat', 'Latitude:') !!} <span class="required">*</span>
|
|
|
|
{!! Form::number('lat', null, ['class' => 'form-control', 'step' => '0.000001', 'rv-value' => 'airport.lat']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('lat') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('lon', 'Longitude:') !!} <span class="required">*</span>
|
|
|
|
{!! Form::number('lon', null, ['class' => 'form-control', 'step' => '0.000001', 'rv-value' => 'airport.lon']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('lon') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</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">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('iata', 'IATA:') !!}
|
|
|
|
{!! Form::text('iata', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('iata') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
2017-06-12 00:36:16 +08:00
|
|
|
|
2017-12-08 07:22:15 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('location', 'Location:') !!}
|
|
|
|
{!! Form::text('location', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('location') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2018-01-01 04:20:52 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('country', 'Country:') !!}
|
|
|
|
{!! Form::text('country', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('country') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
|
|
|
|
2018-01-01 04:20:52 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2018-02-07 00:59:31 +08:00
|
|
|
{!! Form::label('timezone', 'Timezone:') !!}
|
2018-02-11 06:10:19 +08:00
|
|
|
{!! Form::select('timezone', $timezones, null, ['id' => 'timezone', 'class' => 'select2']); !!}
|
2018-02-07 00:59:31 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('timezone') }}</p>
|
2017-12-08 07:22:15 +08:00
|
|
|
</div>
|
2018-01-01 04:20:52 +08:00
|
|
|
</div>
|
2017-12-31 23:42:31 +08:00
|
|
|
|
2018-01-01 04:20:52 +08:00
|
|
|
<div class="row">
|
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
|
|
|
<!-- Submit Field -->
|
2018-01-01 04:20:52 +08:00
|
|
|
<div class="form-group col-sm-8">
|
|
|
|
<div class="text-right">
|
2018-01-04 02:52:01 +08:00
|
|
|
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
|
2017-12-08 07:22:15 +08:00
|
|
|
<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>
|