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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
429 B
Handlebars
Raw Normal View History

2016-09-13 15:14:17 -04:00
<label for={{field.id}}>
2016-08-25 13:14:56 -04:00
<span class='label-value'>{{field.label}}</span>
2016-09-08 16:58:07 -04:00
{{#if field.description}}
<div class='field-description'>{{{field.description}}}</div>
2016-09-08 16:58:07 -04:00
{{/if}}
2016-09-13 15:14:17 -04:00
</label>
2016-09-08 16:58:07 -04:00
2016-09-13 15:14:17 -04:00
<div class='input-area'>
2016-09-16 16:12:56 -04:00
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
2016-09-13 15:14:17 -04:00
</div>
2016-09-13 15:14:17 -04:00
{{#if field.errorDescription}}
<div class='field-error-description'>{{{field.errorDescription}}}</div>
2016-09-13 15:14:17 -04:00
{{/if}}