discourse/app/assets/javascripts/wizard/templates/components/wizard-field.hbs
2016-09-22 09:52:19 -04:00

15 lines
414 B
Handlebars

<label>
<span class='label-value'>{{field.label}}</span>
<div class='input-area'>
{{component inputComponentName field=field step=step inputClassName=inputClassName}}
</div>
{{#if field.errorDescription}}
<div class='field-error-description'>{{field.errorDescription}}</div>
{{/if}}
{{#if field.description}}
<div class='field-description'>{{field.description}}</div>
{{/if}}
</label>