{{----}} @foreach($flights as $flight) {{----}} @endforeach
Flight # Dep ArrRouteDpt Time Arr Time Notes Active Action
{{$flight->ident}} {{ $flight->dpt_airport_id }} {{ $flight->arr_airport_id }} @if($flight->alt_airport) (Alt: {{ $flight->alt_airport_id }}) @endif {{ $flight->route }}{{ $flight->dpt_time }} {{ $flight->arr_time }} {{ $flight->notes }} @if($flight->active == 1) @lang('common.active') @else @lang('common.inactive') @endif {{ Form::open(['route' => ['admin.flights.destroy', $flight->id], 'method' => 'delete']) }} {{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) }} {{ Form::close() }}