Fix aircraft field name #824
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
<div class="form-group col-sm-3">
|
<div class="form-group col-sm-3">
|
||||||
{{ Form::label('aircraft_id', 'Aircraft:') }}
|
{{ Form::label('aircraft_id', 'Aircraft:') }}
|
||||||
@if($pirep->read_only)
|
@if($pirep->read_only)
|
||||||
<p>{{ $pirep->aircraft->name }}</p>
|
<p>{{ optional($pirep->aircraft)->name }}</p>
|
||||||
{{ Form::hidden('aircraft_id') }}
|
{{ Form::hidden('aircraft_id') }}
|
||||||
@else
|
@else
|
||||||
{{ Form::select('aircraft_id', $aircraft_list, null, [
|
{{ Form::select('aircraft_id', $aircraft_list, null, [
|
||||||
|
|||||||
Reference in New Issue
Block a user