Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 12:22:54 +01:00
10 Zeilen
340 B
Handlebars
10 Zeilen
340 B
Handlebars
<label class="wizard-btn wizard-btn-upload {{if uploading 'disabled'}}">
|
|
{{#if uploading}}
|
|
{{i18n "wizard.uploading"}}
|
|
{{else}}
|
|
{{i18n "wizard.upload"}}
|
|
{{d-icon "picture-o"}}
|
|
{{/if}}
|
|
|
|
<input disabled={{uploading}} type="file" accept="image/*,application/pdf" style="visibility: hidden; position: absolute;" />
|
|
</label>
|