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

50 lines
1.7 KiB
PHP
Raw Normal View History

2017-11-23 10:03:49 +08:00
<div class="row">
2018-01-01 04:20:52 +08:00
<!-- Code Field -->
<div class="form-group col-sm-6">
{!! Form::label('icao', 'Code:') !!}&nbsp;<span class="required">*</span>
{!! Form::text('icao', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('icao') }}</p>
2018-01-01 04:20:52 +08:00
</div>
2017-07-23 12:03:39 +08:00
2018-01-01 04:20:52 +08:00
<!-- Name Field -->
<div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!}&nbsp;<span class="required">*</span>
{!! Form::text('name', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('name') }}</p>
2018-01-01 04:20:52 +08:00
</div>
2017-06-09 09:02:52 +08:00
</div>
2018-01-01 04:20:52 +08:00
<div class="row">
<div class="form-group col-sm-6">
{!! Form::label('iata', 'IATA:') !!}
{!! Form::text('iata', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('iata') }}</p>
2018-01-01 04:20:52 +08:00
</div>
2017-06-09 09:02:52 +08:00
2018-01-01 04:20:52 +08:00
<div class="form-group col-sm-6">
{!! Form::label('logo', 'Logo URL:') !!}
{!! Form::text('logo', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('logo') }}</p>
2018-01-01 04:20:52 +08:00
</div>
2017-08-16 21:11:39 +08:00
2017-06-09 09:02:52 +08:00
</div>
2018-01-01 04:20:52 +08:00
<div class="row">
<!-- Active Field -->
<div class="form-group col-sm-6">
{!! Form::label('active', 'Active:') !!}
<label class="checkbox-inline">
{!! Form::hidden('active', 0, false) !!}
{!! Form::checkbox('active', 1, null) !!}
</label>
2017-11-23 10:03:49 +08:00
</div>
</div>
2018-01-01 04:20:52 +08:00
<div class="row">
<!-- Submit Field -->
<div class="form-group col-sm-12">
<div class="pull-right">
2018-01-04 02:52:01 +08:00
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
2018-01-01 04:20:52 +08:00
<a href="{!! route('admin.airlines.index') !!}" class="btn btn-default">Cancel</a>
</div>
</div>
2017-06-09 09:02:52 +08:00
</div>