@foreach($rank->subfleets as $sf) @endforeach
Airline Name Type Actions
{!! $sf->airline->name !!} {!! $sf->name !!} {!! $sf->type !!} {!! Form::open(['url' => '/admin/ranks/'.$rank->id.'/subfleets', 'method' => 'delete', 'class' => 'pjax_form']) !!} {!! Form::hidden('subfleet_id', $sf->id) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs']) !!}
{!! Form::close() !!}

{!! Form::open(['url' => '/admin/ranks/'.$rank->id.'/subfleets', 'method' => 'post', 'class' => 'pjax_form form-inline' ]) !!} {!! Form::select('subfleet_id', $avail_subfleets, null, [ 'placeholder' => 'Select Subfleet', 'class' => 'select2_dropdown form-control input-lg', ]) !!} {!! Form::button(' add', ['type' => 'submit', 'class' => 'btn btn-success btn-s']) !!} {!! Form::close() !!}