code refactoring with @cuneytsenturk after dropzone improvement
This commit is contained in:
		| @@ -32,7 +32,7 @@ | ||||
|  | ||||
|                     {{ Form::textareaGroup('address', trans('general.address')) }} | ||||
|  | ||||
|                     {{ Form::fileGroup('logo', trans('companies.logo'), '', ['dropzone-class' => 'form-file']) }} | ||||
|                     {{ Form::fileGroup('logo', trans('companies.logo'), '', ['dropzone-class' => 'form-file'], $company->company_logo) }} | ||||
|  | ||||
|                     {{ Form::radioGroup('enabled', trans('general.enabled'), $company->enabled) }} | ||||
|                 </div> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user