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

33 lines
1.3 KiB
PHP
Raw Normal View History

2018-05-18 06:03:30 +08:00
<h3 class="description">@lang('frontend.flights.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>
2018-05-18 06:03:30 +08:00
<p>@lang('frontend.global.flightnumber')</p>
{{ Form::text('flight_number', null, ['class' => 'form-control']) }}
2017-12-05 04:21:46 +08:00
</div>
<div style="margin-top: 10px;">
2018-05-18 06:03:30 +08:00
<p>@lang('frontend.global.departureairport')</p>
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control']) }}
2017-12-05 04:21:46 +08:00
</div>
<div style="margin-top: 10px;">
2018-05-18 06:03:30 +08:00
<p>@lang('frontend.global.arrivalairport')</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;">
2018-05-18 06:03:30 +08:00
{{ Form::submit(trans('frontend.global.find'), ['class' => 'btn btn-primary']) }}&nbsp;
<a href="{{ route('frontend.flights.index') }}">@lang('frontend.global.reset')</a>
2017-12-05 04:21:46 +08:00
</div>
{{ Form::close() }}
2017-12-05 04:21:46 +08:00
</div>
</div>
</div>