1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/templates/components/wizard-field-upload.hbs
2018-09-09 08:06:52 -05:00

10 Zeilen
324 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/*" style="visibility: hidden; position: absolute;" />
</label>