discourse/app/assets/javascripts/admin/templates/components/site-settings/bool.hbs
Guo Xiang Tan 822e594fc8
UX: Improve display of site setting validation message.
Previously, the validation message is shown inline with the label which
leads to the available width for both element being reduced.
2020-05-13 11:10:08 +08:00

7 lines
168 B
Handlebars

<label>
{{input type="checkbox" checked=enabled}}
<span>{{html-safe setting.description}}</span>
</label>
{{setting-validation-message message=validationMessage}}