0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-27 11:20:28 +01:00
discourse-custom-wizard/assets/javascripts/wizard/templates/components/wizard-field.hbs

24 Zeilen
588 B
Handlebars

<label for={{field.id}}>
{{#if field.label}}
2018-05-13 07:46:02 +02:00
<span class='label-value'>{{{field.label}}}</span>
{{/if}}
2018-04-05 07:49:39 +02:00
</label>
2018-04-05 07:49:39 +02:00
{{#if field.image}}
<div class="field-image"><img src="{{field.image}}"></div>
{{/if}}
2018-04-05 07:49:39 +02:00
{{#if field.description}}
<div class='field-description'>{{cookedDescription}}</div>
{{/if}}
{{#if inputComponentName}}
<div class='input-area'>
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
</div>
{{/if}}
{{#if field.errorDescription}}
<div class='field-error-description'>{{{field.errorDescription}}}</div>
{{/if}}