2017-06-09 09:37:51 +08:00
|
|
|
<!-- ICAO Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
2017-06-12 04:37:57 +08:00
|
|
|
{!! Form::label('icao', 'ICAO:') !!} (<a class="small" href="https://www.icao.int/publications/DOC8643/Pages/Search.aspx" target="_blank">find</a>)
|
2017-06-09 09:37:51 +08:00
|
|
|
{!! Form::text('icao', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Name Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('name', 'Name:') !!}
|
|
|
|
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Registration Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('registration', 'Registration:') !!}
|
|
|
|
{!! Form::text('registration', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-06-12 04:37:57 +08:00
|
|
|
<!-- Tail Number Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('tail_number', 'Tail Number:') !!}
|
|
|
|
{!! Form::text('tail_number', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
2017-06-09 09:37:51 +08:00
|
|
|
<!-- Active Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
2017-06-13 11:48:32 +08:00
|
|
|
<div class="checkbox">
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
{!! Form::hidden('active', false) !!}
|
|
|
|
{!! Form::checkbox('active', '1', true) !!}
|
|
|
|
{!! Form::label('active', 'Active') !!}
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
|
|
|
|
<a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|
2017-06-13 11:48:32 +08:00
|
|
|
<script>
|
|
|
|
jQuery('input#active').iCheck('check');
|
|
|
|
//$(document).ready(function() {
|
|
|
|
//})
|
|
|
|
</script>
|