allow marking of airport as hub and restrict to hubs at registration #86

This commit is contained in:
Nabeel Shahzad
2017-12-31 09:42:31 -06:00
parent 10a58b3350
commit 528a7c7440
9 changed files with 29 additions and 9 deletions

View File

@@ -36,7 +36,7 @@
<label for="home_airport" class="control-label">Home Airport</label>
<div class="input-group form-group-no-border{{ $errors->has('home_airport') ? ' has-danger' : '' }}">
{!! Form::select('home_airport_id', $airlines, null , ['class' => 'form-control select2']) !!}
{!! Form::select('home_airport_id', $airports, null , ['class' => 'form-control select2']) !!}
</div>
@if ($errors->has('home_airport_id'))
<p class="text-danger">{{ $errors->first('home_airport_id') }}</p>