Merge pull request #46 from tim260/dev

Fix adding of airport
This commit is contained in:
Nabeel Shahzad 2017-07-07 16:18:51 -05:00 committed by GitHub
commit fdd93de36a
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,8 @@ class Airport extends Model
'icao',
'name',
'location',
'lat',
'lon',
'fuel_100ll_cost',
'fuel_jeta_cost',
'fuel_mogas_cost',

View File

@ -16,12 +16,12 @@
<div class="form-group col-sm-6">
{!! Form::label('lat', 'Latitude:') !!}
{!! Form::number('lat', null, ['class' => 'form-control']) !!}
{!! Form::number('lat', null, ['class' => 'form-control', 'step' => '0.000001']) !!}
</div>
<div class="form-group col-sm-6">
{!! Form::label('lon', 'Longitude:') !!}
{!! Form::number('lon', null, ['class' => 'form-control']) !!}
{!! Form::number('lon', null, ['class' => 'form-control', 'step' => '0.000001']) !!}
</div>
<!-- Submit Field -->