phpvms/resources/views/layouts/default/flights/search.blade.php
Nabeel S 2415caab54
Search flights by subfleet #484 (#506)
* API level search of flights #484

* Add Subfleet to flights page for search
2020-01-16 17:36:03 -05:00

38 lines
1.4 KiB
PHP

<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>
<div style="margin-top: 10px; margin-left: 5px;">
<p>@lang('airports.departure')</p>
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control select2']) }}
</div>
<div style="margin-top: 10px; margin-left: 5px;">
<p>@lang('airports.arrival')</p>
{{ Form::select('arr_icao', $airports, null , ['class' => 'form-control select2']) }}
</div>
<div style="margin-top: 10px; margin-left: 5px;">
<p>@lang('common.subfleet')</p>
{{ Form::select('subfleet_id', $subfleets, null , ['class' => 'form-control select2']) }}
</div>
<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() }}
</div>
</div>
</div>