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-14 03:14:17 +08:00
<label for={{field.id}}>
2016-08-26 01:14:56 +08:00
<span class='label-value'>{{field.label}}</span>
2016-09-09 04:58:07 +08:00
{{#if field.description}}
<div class='field-description'>{{{field.description}}}</div>
{{/if}}
2016-09-14 03:14:17 +08:00
</label>
2016-09-09 04:58:07 +08:00
2016-09-14 03:14:17 +08:00
<div class='input-area'>
2016-09-17 04:12:56 +08:00
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
2016-09-14 03:14:17 +08:00
</div>
2016-09-14 03:14:17 +08:00
{{#if field.errorDescription}}
2017-04-21 21:37:24 +08:00
<div class='field-error-description'>{{{field.errorDescription}}}</div>
2016-09-14 03:14:17 +08:00
{{/if}}