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

33 lines
1.2 KiB
PHP
Raw Normal View History

2018-05-19 03:50:20 +08:00
<h3 class="description">@lang('flights.search')</h3>
<div class="card pull-right">
<div class="card-block" style="min-height: 0px">
<div class="form-group search-form">
{{ Form::open([
'route' => 'frontend.flights.search',
'method' => 'GET',
'class'=>'form-inline'
]) }}
<div style="margin-left: 5px;">
<p>@lang('flights.flightnumber')</p>
{{ Form::text('flight_number', null, ['class' => 'form-control']) }}
</div>
2017-12-05 04:21:46 +08:00
<div style="margin-top: 10px; margin-left: 5px;">
<p>@lang('airports.departure')</p>
2019-10-30 01:09:23 +08:00
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control select2']) }}
</div>
2017-12-05 04:21:46 +08:00
<div style="margin-top: 10px; margin-left: 5px;">
<p>@lang('airports.arrival')</p>
2019-10-30 01:09:23 +08:00
{{ Form::select('arr_icao', $airports, null , ['class' => 'form-control select2']) }}
</div>
2017-12-05 04:21:46 +08:00
<div class="clear" style="margin-top: 10px; margin-left: 5px;">
{{ Form::submit(__('common.find'), ['class' => 'btn btn-primary']) }}&nbsp;
<a href="{{ route('frontend.flights.index') }}">@lang('common.reset')</a>
</div>
{{ Form::close() }}
2017-12-05 04:21:46 +08:00
</div>
</div>
</div>