code refactoring with @cuneytsenturk after dropzone improvement

This commit is contained in:
Sevan Nerse
2021-01-30 22:07:01 +03:00
parent 8c84d0cf80
commit 05d19c435d
3 changed files with 21 additions and 6 deletions

View File

@ -30,7 +30,7 @@
{{ Form::selectRemoteAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $item->category_id, ['path' => route('modals.categories.create') . '?type=item', 'remote_action' => route('categories.index'). '?search=type:item']) }}
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file']) }}
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file'], $item->picture) }}
{{ Form::radioGroup('enabled', trans('general.enabled'), $item->enabled) }}
</div>