Airlines model and controller
This commit is contained in:
26
resources/views/admin/airlines/fields.blade.php
Normal file
26
resources/views/admin/airlines/fields.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<!-- 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>
|
||||
|
||||
<!-- Enabled Field -->
|
||||
<div class="form-group col-sm-6">
|
||||
{!! Form::label('enabled', 'Enabled:') !!}
|
||||
<label class="checkbox-inline">
|
||||
{!! Form::hidden('enabled', false) !!}
|
||||
{!! Form::checkbox('enabled', 'True', null) !!} 1
|
||||
</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>
|
||||
Reference in New Issue
Block a user