@foreach($airlines as $al) @endforeach
@sortablelink('name', 'Company Name') @sortablelink('country', 'Country') @sortablelink('iata', 'IATA Code') @sortablelink('icao', 'ICAO Code') @sortablelink('callsign', 'Radio Callsign') Active Actions
{{ $al->name }} @if(filled($al->country)) @endif {{ $al->iata }} {{ $al->icao }} {{ $al->callsign }} @if($al->active == 1) Active @else Inactive @endif {{ Form::open(['route' => ['admin.airlines.destroy', $al->id], 'method' => 'delete']) }} {{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) }} {{ Form::close() }}