Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-29 20:20:29 +01:00
19 Zeilen
504 B
Handlebars
19 Zeilen
504 B
Handlebars
<label for={{field.id}}>
|
|
{{#if field.label}}
|
|
<span class='label-value'>{{field.label}}</span>
|
|
{{/if}}
|
|
|
|
{{#if field.description}}
|
|
<div class='field-description'>{{{field.description}}}</div>
|
|
{{/if}}
|
|
</label>
|
|
|
|
{{#if inputComponentName}}
|
|
<div class='input-area'>
|
|
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if field.errorDescription}}
|
|
<div class='field-error-description'>{{{field.errorDescription}}}</div>
|
|
{{/if}}
|