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