2017-06-09 09:37:51 +08:00
|
|
|
@extends('admin.app')
|
2017-12-31 02:23:30 +08:00
|
|
|
@section('title', 'Add Aircraft')
|
2017-06-09 09:37:51 +08:00
|
|
|
@section('content')
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="card border-blue-bottom">
|
|
|
|
<div class="content">
|
2018-01-10 03:34:19 +08:00
|
|
|
@if(!filled($subfleets))
|
|
|
|
<p class="text-center">
|
|
|
|
You must add a subfleet before you can add an aircraft!
|
|
|
|
</p>
|
|
|
|
@else
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::open(['route' => 'admin.aircraft.store']) }}
|
2018-01-10 03:34:19 +08:00
|
|
|
@include('admin.aircraft.fields')
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::close() }}
|
2018-01-10 03:34:19 +08:00
|
|
|
@endif
|
2017-06-09 09:37:51 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|