stacks for each form input #443

This commit is contained in:
denisdulici
2018-08-04 19:07:32 +03:00
parent ab867e25e1
commit 7b206fb2aa
10 changed files with 40 additions and 0 deletions

View File

@ -1,3 +1,5 @@
@stack($name . '_input_start')
<div class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }} {{ $errors->has($name) ? 'has-error' : '' }}">
{!! Form::label($name, $text, ['class' => 'control-label']) !!}
<br/>
@ -8,3 +10,5 @@
@endforeach
{!! $errors->first($name, '<p class="help-block">:message</p>') !!}
</div>
@stack($name . '_input_end')