2017-06-09 09:02:52 +08:00
|
|
|
<!-- Code Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('code', 'Code:') !!}
|
|
|
|
{!! Form::text('code', 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>
|
|
|
|
|
2017-06-09 09:46:50 +08:00
|
|
|
<!-- Active Field -->
|
2017-06-09 09:02:52 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2017-06-09 09:46:50 +08:00
|
|
|
{!! Form::label('active', 'Active:') !!}
|
2017-06-09 09:02:52 +08:00
|
|
|
<label class="checkbox-inline">
|
2017-06-09 09:46:50 +08:00
|
|
|
{!! Form::hidden('active', false) !!}
|
|
|
|
{!! Form::checkbox('active', 'True', null) !!} 1
|
2017-06-09 09:02:52 +08:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
|
|
|
|
<a href="{!! route('airlines.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|