Rename user_bids table to bids

This commit is contained in:
Nabeel Shahzad
2018-02-27 13:25:32 -06:00
parent c89926399b
commit 97764866f2
10 changed files with 40 additions and 30 deletions

View File

@@ -31,7 +31,7 @@
<div class="row">
<div class="form-group col-sm-3">
{!! Form::label('level', 'Flight Type:') !!}
{!! Form::label('level', 'Flight Type:') !!}&nbsp;<span class="required">*</span>
{!! Form::select('flight_type', $flight_types, null, ['class' => 'form-control select2']) !!}
<p class="text-danger">{{ $errors->first('flight_type') }}</p>
</div>
@@ -52,7 +52,7 @@
<!-- Alt Airport Id Field -->
<div class="form-group col-sm-3">
{!! Form::label('alt_airport_id', 'Alt Airport:') !!}
{!! Form::select('alt_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
{!! Form::select('alt_airport_id', $alt_airports, null , ['class' => 'form-control select2']) !!}
<p class="text-danger">{{ $errors->first('alt_airport_id') }}</p>
</div>
</div>
@@ -75,13 +75,22 @@
<div class="form-group col-sm-4">
{!! Form::label('flight_time', 'Flight Time (hours & minutes):') !!}
<div style="float: left">
{!! Form::number('hours', null, ['class' => 'form-control', 'placeholder' => 'hours']) !!}
{!! Form::number('hours', null, [
'class' => 'form-control',
'placeholder' => 'hours'
]) !!}
</div>
<div style="float: left">
{!! Form::number('minutes', null, ['class' => 'form-control', 'placeholder' => 'minutes']) !!}
<p class="text-danger">{{ $errors->first('hours') }}</p>
<p class="text-danger">{{ $errors->first('minutes') }}</p>
{!! Form::number('minutes', null, [
'class' => 'form-control',
'placeholder' => 'minutes'
]) !!}
</div>
{!! $flight->flight_time !!}
{!! $flight->hours !!}
{!! $flight->minutes !!}
<p class="text-danger">{{ $errors->first('hours') }}</p>
<p class="text-danger">{{ $errors->first('minutes') }}</p>
</div>
<div class="form-group col-sm-2">