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

48 lines
1.4 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">
<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>
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>--}}
<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>--}}
<h3 class="box-title">{{ Form::label('registration', 'Registration') }}</h3>
</div>
<div class="box-body"><p class="lead">{{ $aircraft->registration }}</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>