Add ICAO field for aircraft #111
This commit is contained in:
@@ -12,28 +12,35 @@
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-4">
|
||||
{!! Form::label('icao', 'ICAO:') !!}
|
||||
{!! Form::text('icao', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<!-- Registration Field -->
|
||||
<div class="form-group col-sm-6">
|
||||
<div class="form-group col-sm-4">
|
||||
{!! Form::label('registration', 'Registration:') !!}
|
||||
{!! Form::text('registration', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<!-- Tail Number Field -->
|
||||
<div class="form-group col-sm-6">
|
||||
<div class="form-group col-sm-4">
|
||||
{!! Form::label('tail_number', 'Tail Number:') !!}
|
||||
{!! Form::text('tail_number', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- Active Field -->
|
||||
<div class="form-group col-12">
|
||||
<div class="form-group col-6">
|
||||
{!! Form::label('active', 'Active:') !!}
|
||||
<label class="checkbox-inline">
|
||||
{!! Form::hidden('active', 0, false) !!}
|
||||
{!! Form::checkbox('active', 1, null) !!}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="col-6"> </div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- Submit Field -->
|
||||
<div class="form-group col-sm-12">
|
||||
<div class="pull-right">
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
<thead>
|
||||
<th>Subfleet</th>
|
||||
<th>Name</th>
|
||||
<th>Registration</th>
|
||||
<th style="text-align: center;">ICAO</th>
|
||||
<th style="text-align: center;">Registration</th>
|
||||
<th style="text-align: center;">Active</th>
|
||||
<th style="text-align: right;"></th>
|
||||
</thead>
|
||||
@@ -19,7 +20,8 @@
|
||||
@endif
|
||||
</td>
|
||||
<td><a href="{!! route('admin.aircraft.edit', [$ac->id]) !!}">{!! $ac->name !!}</a></td>
|
||||
<td>{!! $ac->registration !!}</td>
|
||||
<td style="text-align: center;">{!! $ac->icao !!}</td>
|
||||
<td style="text-align: center;">{!! $ac->registration !!}</td>
|
||||
<td style="text-align: center;">
|
||||
@if($ac->active == 1)
|
||||
<span class="label label-success">Active</span>
|
||||
|
||||
Reference in New Issue
Block a user