phpvms/resources/views/admin/aircraft/show_fields.blade.php

50 lines
1.7 KiB
PHP
Raw Normal View History

2017-06-09 09:37:51 +08:00
<!-- Icao 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>--}}
2017-06-14 03:01:06 +08:00
<h3 class="box-title">{!! Form::label('icao', 'ICAO') !!}</h3>
</div>
<div class="box-body">
<p class="lead">{!! $aircraft->icao !!}
@if($aircraft->subfleet)
/{!! $aircraft->subfleet->name !!}</p>
@endif
</div>
</div>
2017-06-09 09:37:51 +08:00
</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>--}}
2017-06-14 03:01:06 +08:00
<h3 class="box-title">{!! Form::label('name', 'Name') !!}</h3>
</div>
<div class="box-body"><p class="lead">{!! $aircraft->name !!}</p></div>
</div>
2017-06-09 09:37:51 +08:00
</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>--}}
2017-06-14 03:01:06 +08:00
<h3 class="box-title">{!! Form::label('registration', 'Registration') !!}/
{!! Form::label('tail_number', 'Tail Number') !!}</h3>
</div>
2017-06-14 03:01:06 +08:00
<div class="box-body"><p class="lead">{!! $aircraft->registration !!}/{!! $aircraft->tail_number !!}</p></div>
</div>
2017-06-09 09:37:51 +08:00
</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>
2017-06-09 09:37:51 +08:00
</div>