allow marking of airport as hub and restrict to hubs at registration #86

This commit is contained in:
Nabeel Shahzad
2017-12-31 09:42:31 -06:00
parent 10a58b3350
commit 528a7c7440
9 changed files with 29 additions and 9 deletions

View File

@@ -42,15 +42,21 @@
</div>
<div class="row">
<div class="form-group col-sm-6">
<div class="form-group col-sm-4">
{!! Form::label('lat', 'Latitude:') !!}
{!! Form::number('lat', null, ['class' => 'form-control', 'step' => '0.000001', 'rv-value' => 'airport.lat']) !!}
</div>
<div class="form-group col-sm-6">
<div class="form-group col-sm-4">
{!! Form::label('lon', 'Longitude:') !!}
{!! Form::number('lon', null, ['class' => 'form-control', 'step' => '0.000001', 'rv-value' => 'airport.lon']) !!}
</div>
<div class="form-group col-sm-4">
{!! Form::label('hub', 'Hub:') !!}
{!! Form::hidden('hub', 0) !!}
{!! Form::checkbox('hub', null) !!}
</div>
</div>
<div class="row">