@foreach($flight->fields as $field) @endforeach
Name Value Actions
{!! $field->name !!} {!! $field->value !!} {!! Form::open(['url' => '/admin/flights/'.$flight->id.'/fields', 'method' => 'delete', 'class' => 'pjax_form flight_fields' ]) !!} {!! Form::hidden('field_id', $field->id) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs']) !!}
{!! Form::close() !!}

{!! Form::open([ 'url' => '/admin/flights/'.$flight->id.'/fields', 'method' => 'post', 'class' => 'pjax_form 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(' add', ['type' => 'submit', 'class' => 'btn btn-success btn-s']) !!}
{!! Form::close() !!}