2016-09-14 03:14:17 +08:00
|
|
|
<label for={{field.id}}>
|
2020-11-10 04:14:57 +08:00
|
|
|
<span class="label-value">
|
|
|
|
{{field.label}}
|
|
|
|
|
|
|
|
{{#if field.required}}
|
|
|
|
<span class="field-required">*</span>
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2016-09-09 04:58:07 +08:00
|
|
|
{{#if field.description}}
|
2020-03-11 16:23:10 +08:00
|
|
|
<div class="field-description">{{html-safe field.description}}</div>
|
2016-09-09 04:58:07 +08:00
|
|
|
{{/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">
|
2021-08-26 05:10:12 +08:00
|
|
|
{{component
|
|
|
|
inputComponentName
|
|
|
|
field=field step=step
|
|
|
|
fieldClass=fieldClass
|
|
|
|
wizard=wizard
|
|
|
|
stylingDropdownChanged=stylingDropdownChanged
|
|
|
|
stylingDropdown=stylingDropdown
|
|
|
|
}}
|
2016-09-14 03:14:17 +08:00
|
|
|
</div>
|
2016-09-01 01:35:49 +08:00
|
|
|
|
2016-09-14 03:14:17 +08:00
|
|
|
{{#if field.errorDescription}}
|
2020-03-11 16:23:10 +08:00
|
|
|
<div class="field-error-description">{{html-safe field.errorDescription}}</div>
|
2016-09-14 03:14:17 +08:00
|
|
|
{{/if}}
|
2020-11-10 04:14:57 +08:00
|
|
|
|
|
|
|
{{#if field.extra_description}}
|
|
|
|
<div class="field-extra-description">{{html-safe field.extra_description}}</div>
|
|
|
|
{{/if}}
|