phpvms/resources/views/admin/aircraft/show_fields.blade.php
2017-06-24 14:00:56 -05:00

49 lines
1.7 KiB
PHP

<!-- Icao Field -->
<div class="form-group col-sm-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">{!! Form::label('airport_id', 'Location') !!}</h3>
</div>
<div class="box-body">
<p class="lead">
@if($aircraft->airport)
{!! $aircraft->airport->icao !!}</p>
@endif
</div>
</div>
</div>
<!-- Name Field -->
<div class="form-group col-sm-6">
<div class="box box-solid">
<div class="box-header with-border">
{{--<i class="fa fa-text-width"></i>--}}
<h3 class="box-title">{!! Form::label('name', 'Name') !!}</h3>
</div>
<div class="box-body"><p class="lead">{!! $aircraft->name !!}</p></div>
</div>
</div>
<!-- Registration Field -->
<div class="form-group col-sm-6">
<div class="box box-solid">
<div class="box-header with-border">
{{--<i class="fa fa-text-width"></i>--}}
<h3 class="box-title">{!! Form::label('registration', 'Registration') !!}/
{!! Form::label('tail_number', 'Tail Number') !!}</h3>
</div>
<div class="box-body"><p class="lead">{!! $aircraft->registration !!}/{!! $aircraft->tail_number !!}</p></div>
</div>
</div>
<!-- Active Field -->
<div class="form-group col-sm-6">
<div class="box box-solid">
<div class="box-header with-border">
{{--<i class="fa fa-text-width"></i>--}}
<h3 class="box-title">{!! Form::label('active', 'Active:') !!}</h3>
</div>
<div class="box-body"><p class="lead">@if ($aircraft->active == '1') yes @else no @endif</p></div>
</div>
</div>