phpvms/resources/views/admin/flights/search.blade.php

24 lines
1.0 KiB
PHP
Raw Normal View History

<div class="content">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
{!! Form::open(['route' => 'admin.flights.index', 'method' => 'GET', 'class'=>'form-inline pull-right']) !!}
{!! Form::label('flight_number', 'Flight Number:') !!}
{!! Form::text('flight_number', null, ['class' => 'form-control']) !!}
&nbsp;
{!! Form::label('dep_icao', 'Departure:') !!}
{!! Form::select('dep_icao', $airports, null , ['class' => 'form-control']) !!}
&nbsp;
{!! Form::label('arr_icao', 'Arrival:') !!}
{!! Form::select('arr_icao', $airports, null , ['class' => 'form-control']) !!}
&nbsp;
{!! Form::submit('find', ['class' => 'btn btn-primary']) !!}
&nbsp;
<a href="{!! route('admin.flights.index') !!}">clear</a>
{!! Form::close() !!}
</div>
</div>
</div>
</div>