2018-01-01 10:59:26 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('name', 'Name:') !!} <span class="required">*</span>
|
|
|
|
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
2018-02-07 00:18:22 +08:00
|
|
|
<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>
|