1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/templates/components/wizard-field-upload.hbs

11 Zeilen
340 B
Handlebars

2018-09-09 15:03:46 +02:00
<label class="wizard-btn wizard-btn-upload {{if uploading 'disabled'}}">
{{#if uploading}}
{{i18n "wizard.uploading"}}
{{else}}
{{i18n "wizard.upload"}}
{{d-icon "picture-o"}}
{{/if}}
2018-09-11 17:51:40 +02:00
<input disabled={{uploading}} type="file" accept="image/*,application/pdf" style="visibility: hidden; position: absolute;" />
2018-09-09 15:03:46 +02:00
</label>