2016-09-16 13:10:12 -04:00
|
|
|
{{#if field.value}}
|
2016-09-16 16:12:56 -04:00
|
|
|
{{component previewComponent field=field fieldClass=fieldClass wizard=wizard}}
|
2016-09-16 13:10:12 -04:00
|
|
|
{{/if}}
|
|
|
|
|
2016-09-08 16:58:07 -04:00
|
|
|
<label class="wizard-btn wizard-btn-upload {{if uploading 'disabled'}}">
|
|
|
|
{{#if uploading}}
|
|
|
|
{{i18n "wizard.uploading"}}
|
|
|
|
{{else}}
|
|
|
|
{{i18n "wizard.upload"}}
|
2017-07-26 16:25:09 -04:00
|
|
|
{{d-icon "picture-o"}}
|
2016-09-08 16:58:07 -04:00
|
|
|
{{/if}}
|
|
|
|
|
2018-10-14 21:43:31 -04:00
|
|
|
<input class="wizard-hidden-upload-field" disabled={{uploading}} type="file" accept="image/*" />
|
2016-09-08 16:58:07 -04:00
|
|
|
</label>
|