{{--
--}} Filed By: {!! $pirep->pilot->pilot_id !!} {!! $pirep->pilot->name !!}
{!! Form::label('flight_number', 'Flight Number/Route Code/Leg') !!}
{!! Form::text('flight_number', null, ['placeholder' => 'Flight Number', 'class' => 'form-control']) !!}

{{ $errors->first('flight_number') }}

{!! Form::text('route_code', null, ['placeholder' => 'Code (optional)', 'class' => 'form-control']) !!}

{{ $errors->first('route_code') }}

{!! Form::text('route_leg', null, ['placeholder' => 'Leg (optional)', 'class' => 'form-control']) !!}

{{ $errors->first('route_leg') }}

{!! Form::label('airline_id', 'Airline') !!}
{!! Form::select('airline_id', $airlines, null, ['class' => 'form-control select2']) !!}

{{ $errors->first('airline_id') }}

{!! Form::label('aircraft_id', 'Aircraft:') !!} {!! Form::select('aircraft_id', $aircraft, null, ['class' => 'form-control select2']) !!}

{{ $errors->first('aircraft_id') }}

{!! Form::label('dpt_airport_id', 'Departure Airport:') !!} {!! Form::select('dpt_airport_id', $airports, null, ['class' => 'form-control select2']) !!}

{{ $errors->first('dpt_airport_id') }}

{!! Form::label('arr_airport_id', 'Arrival Airport:') !!} {!! Form::select('arr_airport_id', $airports, null, ['class' => 'form-control select2']) !!}

{{ $errors->first('arr_airport_id') }}

{!! Form::label('flight_time', 'Flight Time (hours & minutes):') !!}
{!! Form::number('hours', null, ['class' => 'form-control', 'placeholder' => 'hours']) !!}
{!! Form::number('minutes', null, ['class' => 'form-control', 'placeholder' => 'minutes']) !!}

{{ $errors->first('hours') }}

{{ $errors->first('minutes') }}

{!! Form::label('level', 'Flight Level:') !!}
{!! Form::text('level', null, ['class' => 'form-control']) !!}

{{ $errors->first('level') }}

{!! Form::label('route', 'Route:') !!} {!! Form::textarea('route', null, ['class' => 'form-control']) !!}

{{ $errors->first('route') }}

{!! Form::label('notes', 'Notes:') !!} {!! Form::textarea('notes', null, ['class' => 'form-control']) !!}

{{ $errors->first('notes') }}

{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!} Cancel