2020-06-30 23:12:45 +02:00
|
|
|
{{--
|
|
|
|
@url - URL to upload to.
|
|
|
|
@placeholder - Placeholder text
|
2020-07-04 17:53:02 +02:00
|
|
|
@successMessage
|
2020-06-30 23:12:45 +02:00
|
|
|
--}}
|
|
|
|
<div component="dropzone"
|
|
|
|
option:dropzone:url="{{ $url }}"
|
2020-07-04 17:53:02 +02:00
|
|
|
option:dropzone:success-message="{{ $successMessage ?? '' }}"
|
|
|
|
option:dropzone:remove-message="{{ trans('components.image_upload_remove') }}"
|
2021-11-14 23:03:22 +01:00
|
|
|
option:dropzone:upload-limit="{{ config('app.upload_limit') }}"
|
2020-07-04 17:53:02 +02:00
|
|
|
option:dropzone:upload-limit-message="{{ trans('errors.server_upload_limit') }}"
|
|
|
|
option:dropzone:timeout-message="{{ trans('errors.file_upload_timeout') }}"
|
|
|
|
|
2020-06-30 23:12:45 +02:00
|
|
|
class="dropzone-container text-center">
|
|
|
|
<button type="button" class="dz-message">{{ $placeholder }}</button>
|
|
|
|
</div>
|