phpvms/resources/views/layouts/default/flights/search.blade.php

33 lines
1.2 KiB
PHP
Raw Normal View History

<h3 class="description">search</h3>
<div class="card pull-right">
2017-12-05 04:21:46 +08:00
<div class="card-block" style="min-height: 0px">
<div class="form-group">
{{ Form::open([
'route' => 'frontend.flights.search',
'method' => 'GET',
'class'=>'form-inline'
]) }}
2017-12-05 04:21:46 +08:00
<div>
<p>Flight Number</p>
{{ Form::text('flight_number', null, ['class' => 'form-control']) }}
2017-12-05 04:21:46 +08:00
</div>
<div style="margin-top: 10px;">
<p>Departure Airport</p>
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control']) }}
2017-12-05 04:21:46 +08:00
</div>
<div style="margin-top: 10px;">
2017-12-05 04:21:46 +08:00
<p>Arrival Airport</p>
{{ Form::select('arr_icao', $airports, null , ['class' => 'form-control']) }}
2017-12-05 04:21:46 +08:00
</div>
<div class="clear" style="margin-top: 10px;">
{{ Form::submit('find', ['class' => 'btn btn-primary']) }}&nbsp;
<a href="{{ route('frontend.flights.index') }}">clear</a>
2017-12-05 04:21:46 +08:00
</div>
{{ Form::close() }}
2017-12-05 04:21:46 +08:00
</div>
</div>
</div>