discourse/app/assets/javascripts/wizard/templates/components/wizard-field.hbs

16 lines
414 B
Handlebars
Raw Normal View History

2016-08-25 13:14:56 -04:00
<label>
<span class='label-value'>{{field.label}}</span>
<div class='input-area'>
2016-09-02 11:42:14 -04:00
{{component inputComponentName field=field step=step inputClassName=inputClassName}}
2016-08-25 13:14:56 -04:00
</div>
{{#if field.errorDescription}}
<div class='field-error-description'>{{field.errorDescription}}</div>
{{/if}}
{{#if field.description}}
<div class='field-description'>{{field.description}}</div>
{{/if}}
2016-08-25 13:14:56 -04:00
</label>