Aircraft can be added without subfleet/block subfleet deletion if still in use #128
This commit is contained in:
@@ -3,9 +3,15 @@
|
||||
@section('content')
|
||||
<div class="card border-blue-bottom">
|
||||
<div class="content">
|
||||
{!! Form::open(['route' => 'admin.subfleets.store']) !!}
|
||||
@include('admin.subfleets.fields')
|
||||
{!! Form::close() !!}
|
||||
@if(!filled($airlines))
|
||||
<p class="text-center">
|
||||
You must add an airline before you can add a subfleet!
|
||||
</p>
|
||||
@else
|
||||
{!! Form::open(['route' => 'admin.subfleets.store']) !!}
|
||||
@include('admin.subfleets.fields')
|
||||
{!! Form::close() !!}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user