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

22 lines
804 B
PHP
Raw Normal View History

2018-01-01 10:59:26 +08:00
<div class="row">
<div class="form-group col-sm-6">
{!! Form::label('name', 'Name:') !!}&nbsp;&nbsp;<span class="required">*</span>
{!! Form::text('name', null, ['class' => 'form-control']) !!}
<p class="text-danger">{{ $errors->first('name') }}</p>
2018-01-01 10:59:26 +08:00
</div>
<!-- Required Field -->
<div class="form-group col-sm-6">
{!! Form::label('required', 'Required:') !!}
{!! Form::hidden('required', 0) !!}
{!! Form::checkbox('required', null) !!}
</div>
</div>
<div class="row">
<!-- Submit Field -->
<div class="form-group col-sm-12">
2018-01-04 02:52:01 +08:00
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) !!}
2018-01-01 10:59:26 +08:00
<a href="{!! route('admin.pirepfields.index') !!}" class="btn btn-default">Cancel</a>
</div>
</div>