phpvms/resources/views/admin/airlines/fields.blade.php
2017-06-19 11:50:25 -05:00

27 lines
815 B
PHP

<!-- 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>
<!-- Active Field -->
<div class="form-group col-sm-6">
{!! Form::label('active', 'Active:') !!}
<label class="checkbox-inline">
{!! Form::hidden('active', false) !!}
{!! Form::checkbox('active', 'True', null) !!} 1
</label>
</div>
<!-- Submit Field -->
<div class="form-group col-sm-12">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
<a href="{!! route('admin.airlines.index') !!}" class="btn btn-default">Cancel</a>
</div>