Fix for subfleet add/remove on flight page #124
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="row"> <div class="col-12">
|
||||
<div id="flight_fields_wrapper">
|
||||
<h3>custom fields</h3><br />
|
||||
<table class="table table-responsive" id="flight-fields-table">
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
@@ -16,7 +16,7 @@
|
||||
<td style="width: 10%; text-align: center;" class="form-inline">
|
||||
{!! Form::open(['url' => '/admin/flights/'.$flight->id.'/fields',
|
||||
'method' => 'delete',
|
||||
'class' => 'pjax_form flight_fields'
|
||||
'class' => 'pjax_form pjax_flight_fields'
|
||||
]) !!}
|
||||
{!! Form::hidden('field_id', $field->id) !!}
|
||||
<div class='btn-group'>
|
||||
@@ -32,27 +32,27 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<hr/>
|
||||
<div class="row pull-right">
|
||||
{!! Form::open([
|
||||
'url' => '/admin/flights/'.$flight->id.'/fields',
|
||||
'method' => 'post',
|
||||
'class' => 'pjax_form form-inline'
|
||||
])
|
||||
!!}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="text-right">
|
||||
{!! Form::open([
|
||||
'url' => '/admin/flights/'.$flight->id.'/fields',
|
||||
'method' => 'post',
|
||||
'class' => 'pjax_form form-inline pjax_flight_fields'
|
||||
])
|
||||
!!}
|
||||
|
||||
<div class="form-group col-xs-12 form-inline">
|
||||
|
||||
{!! Form::label('name', 'Name:') !!}
|
||||
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
||||
|
||||
{!! Form::label('value', 'Value:') !!}
|
||||
{!! Form::text('value', null, ['class' => 'form-control']) !!}
|
||||
|
||||
{!! Form::button('<i class="glyphicon glyphicon-plus"></i> add',
|
||||
['type' => 'submit',
|
||||
'class' => 'btn btn-success btn-s']) !!}
|
||||
{!! Form::label('name', 'Name:') !!}
|
||||
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
||||
|
||||
{!! Form::label('value', 'Value:') !!}
|
||||
{!! Form::text('value', null, ['class' => 'form-control']) !!}
|
||||
|
||||
{!! Form::button('<i class="glyphicon glyphicon-plus"></i> add',
|
||||
['type' => 'submit',
|
||||
'class' => 'btn btn-success btn-s']) !!}
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div> </div>
|
||||
|
||||
Reference in New Issue
Block a user