Merge pull request #218 from mbdwey/patch4
File only accepts name and options attributes
This commit is contained in:
commit
8d9c34af31
@ -1,5 +1,5 @@
|
||||
<div class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }} {{ $errors->has($name) ? 'has-error' : '' }}" style="min-height: 59px">
|
||||
{!! Form::label($name, $text, ['class' => 'control-label']) !!}
|
||||
{!! Form::file($name, $value, array_merge(['class' => 'form-control'], $attributes)) !!}
|
||||
{!! Form::file($name, array_merge(['class' => 'form-control'], $attributes)) !!}
|
||||
{!! $errors->first($name, '<p class="help-block">:message</p>') !!}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user