Fix aircraft field name #824

This commit is contained in:
Nabeel Shahzad 2020-09-15 15:41:53 -04:00
parent 78ca06e9dc
commit 435fa32663

View File

@ -94,7 +94,7 @@
<div class="form-group col-sm-3">
{{ Form::label('aircraft_id', 'Aircraft:') }}
@if($pirep->read_only)
<p>{{ $pirep->aircraft->name }}</p>
<p>{{ optional($pirep->aircraft)->name }}</p>
{{ Form::hidden('aircraft_id') }}
@else
{{ Form::select('aircraft_id', $aircraft_list, null, [