#14 associate/disassociate aircraft from flights

This commit is contained in:
Nabeel Shahzad
2017-06-20 12:14:10 -05:00
parent 94d0e15080
commit 85610aeec6
2 changed files with 5 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
<td>{!! $ac->registration !!}</td>
<td style="width: 10%; text-align: center;" class="form-inline">
{!! Form::open(['url' => '/admin/flights/'.$flight->id.'/aircraft', 'method' => 'delete', 'class' => 'flight_ac_frm']) !!}
{!! Form::hidden('flight_id', $flight->id) !!}
{!! Form::hidden('aircraft_id', $flight->id) !!}
<div class='btn-group'>
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>',
['type' => 'submit',