parameter of accepted files is arranged for the fileGroup partial

This commit is contained in:
Sevan Nerse
2021-01-17 12:59:49 +03:00
parent c5fd225057
commit fe97d51e49
12 changed files with 12 additions and 12 deletions

View File

@ -34,7 +34,7 @@
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), $user->locale) }}
{{ 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/*']]) }}
</div>
</div>