mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 00:23:43 +08:00
f795c1b8e8
This reverts commit d436b600fb
.
Triple curlies are still necessary for some raw templates.
16 lines
429 B
Handlebars
16 lines
429 B
Handlebars
<label for={{field.id}}>
|
|
<span class='label-value'>{{field.label}}</span>
|
|
|
|
{{#if field.description}}
|
|
<div class='field-description'>{{{field.description}}}</div>
|
|
{{/if}}
|
|
</label>
|
|
|
|
<div class='input-area'>
|
|
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
|
|
</div>
|
|
|
|
{{#if field.errorDescription}}
|
|
<div class='field-error-description'>{{{field.errorDescription}}}</div>
|
|
{{/if}}
|