#11 integrate pjax scaffold for form reload for deleting fares

This commit is contained in:
Nabeel Shahzad
2017-06-12 22:48:32 -05:00
parent 8615ce5b54
commit 486b47562e
7 changed files with 157 additions and 68 deletions

View File

@@ -24,11 +24,13 @@
<!-- Active Field -->
<div class="form-group col-sm-6">
{!! Form::label('active', 'Active:') !!}
<label class="checkbox-inline">
{!! Form::hidden('active', false) !!}
{!! Form::checkbox('active', '1', true) !!}
</label>
<div class="checkbox">
<label class="checkbox-inline">
{!! Form::hidden('active', false) !!}
{!! Form::checkbox('active', '1', true) !!}
{!! Form::label('active', 'Active') !!}
</label>
</div>
</div>
<!-- Submit Field -->
@@ -36,3 +38,8 @@
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
<a href="{!! route('admin.aircraft.index') !!}" class="btn btn-default">Cancel</a>
</div>
<script>
jQuery('input#active').iCheck('check');
//$(document).ready(function() {
//})
</script>