phpvms/resources/views/admin/airlines/fields.blade.php

27 lines
815 B
PHP
Raw Normal View History

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']) !!}
2017-06-20 00:50:25 +08:00
<a href="{!! route('admin.airlines.index') !!}" class="btn btn-default">Cancel</a>
2017-06-09 09:02:52 +08:00
</div>