mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-02 05:43:40 +08:00
15 lines
590 B
PHP
15 lines
590 B
PHP
{{--
|
|
@url - URL to upload to.
|
|
@placeholder - Placeholder text
|
|
@successMessage
|
|
--}}
|
|
<div component="dropzone"
|
|
option:dropzone:url="{{ $url }}"
|
|
option:dropzone:success-message="{{ $successMessage ?? '' }}"
|
|
option:dropzone:remove-message="{{ trans('components.image_upload_remove') }}"
|
|
option:dropzone:upload-limit-message="{{ trans('errors.server_upload_limit') }}"
|
|
option:dropzone:timeout-message="{{ trans('errors.file_upload_timeout') }}"
|
|
|
|
class="dropzone-container text-center">
|
|
<button type="button" class="dz-message">{{ $placeholder }}</button>
|
|
</div> |