Create wizard-field-upload.hbs
Dieser Commit ist enthalten in:
Ursprung
a0a037a41b
Commit
5c811bbb2f
1 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen
|
@ -0,0 +1,14 @@
|
||||||
|
{{#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 disabled={{uploading}} type="file" accept="image/*" style="visibility: hidden; position: absolute;" />
|
||||||
|
</label>
|
Laden …
In neuem Issue referenzieren