@foreach($subfleets as $subfleet) @endforeach
Name Airline Type Aircraft
{{ $subfleet->name }} {{ optional($subfleet->airline)->name }} {{ $subfleet->type }} {{ $subfleet->aircraft->count() }} {{ Form::open(['route' => ['admin.subfleets.destroy', $subfleet->id], 'method' => 'delete']) }} {{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) }} {{ Form::close() }}