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