mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 05:03:44 +08:00
85b8fea262
Refactors three wizard steps (colors, fonts, homepage style) into one new step called Styling.
33 lines
766 B
Handlebars
33 lines
766 B
Handlebars
<label for={{field.id}}>
|
|
<span class="label-value">
|
|
{{field.label}}
|
|
|
|
{{#if field.required}}
|
|
<span class="field-required">*</span>
|
|
{{/if}}
|
|
</span>
|
|
|
|
{{#if field.description}}
|
|
<div class="field-description">{{html-safe field.description}}</div>
|
|
{{/if}}
|
|
</label>
|
|
|
|
<div class="input-area">
|
|
{{component
|
|
inputComponentName
|
|
field=field step=step
|
|
fieldClass=fieldClass
|
|
wizard=wizard
|
|
stylingDropdownChanged=stylingDropdownChanged
|
|
stylingDropdown=stylingDropdown
|
|
}}
|
|
</div>
|
|
|
|
{{#if field.errorDescription}}
|
|
<div class="field-error-description">{{html-safe field.errorDescription}}</div>
|
|
{{/if}}
|
|
|
|
{{#if field.extra_description}}
|
|
<div class="field-extra-description">{{html-safe field.extra_description}}</div>
|
|
{{/if}}
|