PIREP fields not showing up and blocking PIREP submission
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
alert-{{ session('flash_notification.level') }}
|
||||
{{ session()->has('flash_notification.important') ? 'alert-important' : '' }}">
|
||||
@if(session()->has('flash_notification.important'))
|
||||
<button type="button"class="close" data-dismiss="alert">×</button>
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
@endif
|
||||
|
||||
{{ session('flash_notification.message') }}
|
||||
|
||||
@@ -303,20 +303,22 @@ flight reports that have been filed. You've been warned!
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{--
|
||||
Write out the custom fields, and label if they're required
|
||||
--}}
|
||||
<div class="col-4">
|
||||
@if(isset($pirep) && $pirep->fields)
|
||||
<div class="form-container">
|
||||
<h6><i class="fab fa-wpforms"></i>
|
||||
{{ trans_choice('common.field', 2) }}
|
||||
</h6>
|
||||
<div class="form-container-body">
|
||||
{{--
|
||||
Write out the custom fields, and label if they're required
|
||||
--}}
|
||||
@each('pireps.custom_fields', $pirep->fields, 'field')
|
||||
@if(isset($pirep) && $pirep->fields)
|
||||
@each('pireps.custom_fields', $pirep->fields, 'field')
|
||||
@else
|
||||
@each('pireps.custom_fields', $pirep_fields, 'field')
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -352,5 +354,4 @@ flight reports that have been filed. You've been warned!
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user