Fix adding of airport
Fix the adding of airport. It will now save the lat & Long and allow to put decimals in rather than just a rounded number
This commit is contained in:
parent
1cbfc5d9cd
commit
06f481a262
@ -17,6 +17,8 @@ class Airport extends Model
|
|||||||
'icao',
|
'icao',
|
||||||
'name',
|
'name',
|
||||||
'location',
|
'location',
|
||||||
|
'lat',
|
||||||
|
'lon',
|
||||||
'fuel_100ll_cost',
|
'fuel_100ll_cost',
|
||||||
'fuel_jeta_cost',
|
'fuel_jeta_cost',
|
||||||
'fuel_mogas_cost',
|
'fuel_mogas_cost',
|
||||||
|
@ -16,12 +16,12 @@
|
|||||||
|
|
||||||
<div class="form-group col-sm-6">
|
<div class="form-group col-sm-6">
|
||||||
{!! Form::label('lat', 'Latitude:') !!}
|
{!! Form::label('lat', 'Latitude:') !!}
|
||||||
{!! Form::number('lat', null, ['class' => 'form-control']) !!}
|
{!! Form::number('lat', null, ['class' => 'form-control', 'step' => '0.000001']) !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-sm-6">
|
<div class="form-group col-sm-6">
|
||||||
{!! Form::label('lon', 'Longitude:') !!}
|
{!! Form::label('lon', 'Longitude:') !!}
|
||||||
{!! Form::number('lon', null, ['class' => 'form-control']) !!}
|
{!! Form::number('lon', null, ['class' => 'form-control', 'step' => '0.000001']) !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Submit Field -->
|
<!-- Submit Field -->
|
||||||
|
Loading…
Reference in New Issue
Block a user