From 5f7aeeba439d1bdfe012222382cbb97a14227a63 Mon Sep 17 00:00:00 2001 From: Mohamed Abo Bdwey Date: Thu, 15 Feb 2018 21:14:18 +0200 Subject: [PATCH] File only accepts name and options attributes --- resources/views/partials/form/file_group.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/partials/form/file_group.blade.php b/resources/views/partials/form/file_group.blade.php index cc110eed1..5553052a1 100644 --- a/resources/views/partials/form/file_group.blade.php +++ b/resources/views/partials/form/file_group.blade.php @@ -1,5 +1,5 @@
{!! 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, '

:message

') !!}