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}}
|
|
|
|
|
|
|
|
<input disabled={{uploading}} type="file" accept="image/*" style="visibility: hidden; position: absolute;" />
|
|
|
|
</label>
|