2016-09-17 01:10:12 +08:00
|
|
|
{{#if field.value}}
|
2016-09-17 04:12:56 +08:00
|
|
|
{{component previewComponent field=field fieldClass=fieldClass wizard=wizard}}
|
2016-09-17 01:10:12 +08:00
|
|
|
{{/if}}
|
|
|
|
|
2016-09-09 04:58:07 +08:00
|
|
|
<label class="wizard-btn wizard-btn-upload {{if uploading 'disabled'}}">
|
|
|
|
{{#if uploading}}
|
|
|
|
{{i18n "wizard.uploading"}}
|
|
|
|
{{else}}
|
|
|
|
{{i18n "wizard.upload"}}
|
2019-01-22 19:02:02 +08:00
|
|
|
{{d-icon "far-image"}}
|
2016-09-09 04:58:07 +08:00
|
|
|
{{/if}}
|
|
|
|
|
2018-10-15 09:43:31 +08:00
|
|
|
<input class="wizard-hidden-upload-field" disabled={{uploading}} type="file" accept="image/*" />
|
2016-09-09 04:58:07 +08:00
|
|
|
</label>
|