2022-07-26 21:23:01 -04:00
|
|
|
{{#if this.field.label}}
|
|
|
|
<label for={{this.field.id}}>
|
|
|
|
<span class="wizard-container__label">
|
|
|
|
{{this.field.label}}
|
|
|
|
</span>
|
2020-11-09 15:14:57 -05:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.field.required}}
|
2022-07-26 21:23:01 -04:00
|
|
|
<span class="wizard-container__label required">*</span>
|
2020-11-09 15:14:57 -05:00
|
|
|
{{/if}}
|
2016-08-25 13:14:56 -04:00
|
|
|
|
2022-07-26 21:23:01 -04:00
|
|
|
{{#if this.field.description}}
|
|
|
|
<div class="wizard-container__description">{{html-safe this.field.description}}</div>
|
|
|
|
{{/if}}
|
|
|
|
</label>
|
|
|
|
{{/if}}
|
2016-09-08 16:58:07 -04:00
|
|
|
|
2022-07-26 21:23:01 -04:00
|
|
|
<div class="wizard-container__input">
|
2021-08-25 17:10:12 -04:00
|
|
|
{{component
|
2022-07-05 13:41:31 -04:00
|
|
|
this.inputComponentName
|
|
|
|
field=this.field
|
|
|
|
step=this.step
|
|
|
|
fieldClass=this.fieldClass
|
|
|
|
wizard=this.wizard
|
2021-08-25 17:10:12 -04:00
|
|
|
}}
|
2016-09-13 15:14:17 -04:00
|
|
|
</div>
|
2016-08-31 13:35:49 -04:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.field.errorDescription}}
|
2022-07-26 21:23:01 -04:00
|
|
|
<div class="wizard-container__description error">{{html-safe this.field.errorDescription}}</div>
|
2016-09-13 15:14:17 -04:00
|
|
|
{{/if}}
|
2020-11-09 15:14:57 -05:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.field.extra_description}}
|
2022-07-26 21:23:01 -04:00
|
|
|
<div class="wizard-container__description extra">{{html-safe this.field.extra_description}}</div>
|
2020-11-09 15:14:57 -05:00
|
|
|
{{/if}}
|