discourse/app/assets/javascripts/admin/templates/components/site-settings/enum.hbs

5 lines
245 B
Handlebars

{{combo-box castInteger=true valueAttribute="value" content=setting.validValues value=value none=setting.allowsNone}}
{{preview}}
{{setting-validation-message message=validationMessage}}
<div class='desc'>{{{unbound setting.description}}}</div>