parameter of accepted files is arranged for the fileGroup partial
This commit is contained in:
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
@stack('picture_input_end')
|
||||
@else
|
||||
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file']) }}
|
||||
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file', 'options' => ['acceptedFiles' => 'image/*']]) }}
|
||||
@endif
|
||||
|
||||
@can('read-common-companies')
|
||||
|
@ -45,7 +45,7 @@
|
||||
</div>
|
||||
@stack('picture_input_end')
|
||||
@else
|
||||
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file']) }}
|
||||
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file', 'options' => ['acceptedFiles' => 'image/*']]) }}
|
||||
@endif
|
||||
|
||||
@can('read-common-companies')
|
||||
|
Reference in New Issue
Block a user