2017-11-23 10:03:49 +08:00
|
|
|
<div class="row">
|
2020-02-02 02:05:56 +08:00
|
|
|
<!-- Code Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{{ Form::label('icao', 'Code:') }} <span class="required">*</span>
|
|
|
|
{{ Form::text('icao', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('icao') }}</p>
|
|
|
|
</div>
|
2017-07-23 12:03:39 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<!-- Name Field -->
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{{ Form::label('name', 'Name:') }} <span class="required">*</span>
|
|
|
|
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
|
|
|
</div>
|
2017-06-09 09:02:52 +08:00
|
|
|
</div>
|
2018-01-01 04:20:52 +08:00
|
|
|
<div class="row">
|
2020-02-02 02:05:56 +08:00
|
|
|
<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>
|
|
|
|
</div>
|
2017-06-09 09:02:52 +08:00
|
|
|
|
2020-02-02 02:05:56 +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>
|
|
|
|
</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">
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{{ Form::label('country', 'Country:') }} <br/>
|
|
|
|
{{ Form::select('country', $countries, null, ['class' => 'form-control select2' ]) }}
|
|
|
|
<p class="text-danger">{{ $errors->first('country') }}</p>
|
|
|
|
</div>
|
2018-02-13 00:51:04 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{{ Form::label('active', 'Active:') }}
|
|
|
|
<br/>
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
{{ Form::hidden('active', 0, false) }}
|
|
|
|
{{ Form::checkbox('active', 1, null) }}
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-11-23 10:03:49 +08:00
|
|
|
</div>
|
2018-01-01 04:20:52 +08:00
|
|
|
<div class="row">
|
2020-02-02 02:05:56 +08:00
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="pull-right">
|
|
|
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
|
|
|
<a href="{{ route('admin.airlines.index') }}" class="btn btn-default">Cancel</a>
|
2018-01-01 04:20:52 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2017-06-09 09:02:52 +08:00
|
|
|
</div>
|