@foreach($aircraft as $ac) @endforeach
Subfleet Name Registration Active Actions
@if($ac->subfleet_id) {!! $ac->subfleet->name !!} @else - @endif {!! $ac->name !!} {!! $ac->registration !!} {!! Form::open(['route' => ['admin.aircraft.destroy', $ac->id], 'method' => 'delete']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
{!! Form::close() !!}