22 lines
742 B
PHP
22 lines
742 B
PHP
<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']) }}
|
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
|
</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">
|
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
|
<a href="{{ route('admin.pirepfields.index') }}" class="btn btn-default">Cancel</a>
|
|
</div>
|
|
</div>
|