mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 15:35:12 +08:00
84d4c81a26
This reverts commit 3c59106bac
.
15 lines
421 B
Handlebars
15 lines
421 B
Handlebars
{{#if field.value}}
|
|
{{component previewComponent field=field fieldClass=fieldClass wizard=wizard}}
|
|
{{/if}}
|
|
|
|
<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 class="wizard-hidden-upload-field" disabled={{uploading}} type="file" accept="image/*" />
|
|
</label>
|