2017-11-23 10:03:49 +08:00
|
|
|
<div class="row">
|
2018-01-01 04:00:50 +08:00
|
|
|
<!-- Name Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('name', 'Name:') !!} <span class="required">*</span>
|
2018-01-01 04:00:50 +08:00
|
|
|
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
2018-01-01 04:00:50 +08:00
|
|
|
</div>
|
2017-06-24 06:33:18 +08:00
|
|
|
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('subfleet_id', 'Subfleet:') !!}
|
|
|
|
{!! Form::select('subfleet_id', $subfleets, null, ['class' => 'form-control select2', 'placeholder' => 'Select Subfleet']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('subfleet_id') }}</p>
|
2018-01-01 04:00:50 +08:00
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
|
2017-06-12 04:37:57 +08:00
|
|
|
</div>
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="row">
|
2018-01-31 00:04:50 +08:00
|
|
|
<div class="form-group col-sm-3">
|
2018-01-04 02:41:01 +08:00
|
|
|
{!! Form::label('icao', 'ICAO:') !!}
|
|
|
|
{!! Form::text('icao', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('icao') }}</p>
|
2018-01-04 02:41:01 +08:00
|
|
|
</div>
|
|
|
|
|
2018-01-01 04:00:50 +08:00
|
|
|
<!-- Registration Field -->
|
2018-01-31 00:04:50 +08:00
|
|
|
<div class="form-group col-sm-3">
|
2018-01-01 04:00:50 +08:00
|
|
|
{!! Form::label('registration', 'Registration:') !!}
|
|
|
|
{!! Form::text('registration', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('registration') }}</p>
|
2018-01-01 04:00:50 +08:00
|
|
|
</div>
|
2017-06-12 04:37:57 +08:00
|
|
|
|
2018-01-01 04:00:50 +08:00
|
|
|
<!-- Tail Number Field -->
|
2018-01-31 00:04:50 +08:00
|
|
|
<div class="form-group col-sm-3">
|
2018-01-01 04:00:50 +08:00
|
|
|
{!! Form::label('tail_number', 'Tail Number:') !!}
|
|
|
|
{!! Form::text('tail_number', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('tail_number') }}</p>
|
2018-01-01 04:00:50 +08:00
|
|
|
</div>
|
2018-01-31 00:04:50 +08:00
|
|
|
|
|
|
|
<div class="form-group col-sm-3">
|
|
|
|
{!! Form::label('zfw', 'Zero Fuel Weight:') !!}
|
|
|
|
{!! Form::text('zfw', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<p class="text-danger">{{ $errors->first('zfw') }}</p>
|
2018-01-31 00:04:50 +08:00
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
</div>
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="row">
|
|
|
|
<!-- Active Field -->
|
2018-01-04 02:41:01 +08:00
|
|
|
<div class="form-group col-6">
|
2018-01-01 04:00:50 +08:00
|
|
|
{!! Form::label('active', 'Active:') !!}
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
{!! Form::hidden('active', 0, false) !!}
|
|
|
|
{!! Form::checkbox('active', 1, null) !!}
|
|
|
|
</label>
|
|
|
|
</div>
|
2018-01-04 02:41:01 +08:00
|
|
|
<div class="col-6"> </div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-01-01 04:00:50 +08:00
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="pull-right">
|
2018-01-04 02:52:01 +08:00
|
|
|
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
|
2018-01-01 04:00:50 +08:00
|
|
|
<a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|
2017-11-23 10:03:49 +08:00
|
|
|
</div>
|
|
|
|
</div>
|