fixed the remaining edit pages

This commit is contained in:
Nabeel Shahzad
2017-11-22 20:03:49 -06:00
parent 7c5486c9e8
commit 30737a7644
14 changed files with 99 additions and 151 deletions

View File

@@ -1,3 +1,4 @@
<div class="row">
<!-- Name Field -->
<div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!}
@@ -22,23 +23,19 @@
</div>
<!-- Active Field -->
<div class="form-group col-sm-6">
<div class="checkbox">
<label class="checkbox-inline">
{!! Form::hidden('active', false) !!}
{!! Form::checkbox('active', '1', true) !!}
{!! Form::label('active', 'Active') !!}
</label>
</div>
<div class="form-group col-12">
{!! Form::label('active', 'Active:') !!}
<label class="checkbox-inline">
{!! Form::hidden('active', 0, false) !!}
{!! Form::checkbox('active', 1, null) !!}
</label>
</div>
<!-- Submit Field -->
<div class="form-group col-sm-12">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
<a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a>
<div class="pull-right">
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
<a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a>
</div>
</div>
</div>
<script>
jQuery('input#active').iCheck('check');
//$(document).ready(function() {
//})
</script>