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

41 lines
1.2 KiB
PHP
Raw Normal View History

2017-11-23 10:03:49 +08:00
<div class="row">
2017-06-09 09:02:52 +08:00
<!-- Code Field -->
<div class="form-group col-sm-6">
2017-08-16 21:11:39 +08:00
{!! Form::label('icao', 'Code:') !!}
{!! Form::text('icao', null, ['class' => 'form-control']) !!}
2017-06-09 09:02:52 +08:00
</div>
2017-07-23 12:03:39 +08:00
<div class="form-group col-sm-6">
{!! Form::label('iata', 'IATA:') !!}
{!! Form::text('iata', null, ['class' => 'form-control']) !!}
</div>
2017-06-09 09:02:52 +08:00
<!-- Name Field -->
<div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
</div>
2017-08-16 21:11:39 +08:00
<div class="form-group col-sm-6">
{!! Form::label('logo', 'Logo URL:') !!}
{!! Form::text('logo', 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-07-08 17:25:09 +08:00
{!! Form::hidden('active', 0, false) !!}
{!! Form::checkbox('active', 1, null) !!}
2017-06-09 09:02:52 +08:00
</label>
</div>
<!-- Submit Field -->
<div class="form-group col-sm-12">
2017-11-23 10:03:49 +08:00
<div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
<a href="{!! route('admin.airlines.index') !!}" class="btn btn-default">Cancel</a>
</div>
</div>
2017-06-09 09:02:52 +08:00
</div>