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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
403 B
Handlebars
Raw Normal View History

<ComboBox @content={{setting.validValues}} @value={{value}} @onChange={{action (mut value)}} @valueProperty={{setting.computedValueProperty}} @nameProperty={{setting.computedNameProperty}} @options={{hash
castInteger=true
allowAny=setting.allowsNone
}} />
2015-03-02 12:12:19 -05:00
{{preview}}
<SettingValidationMessage @message={{validationMessage}} />
<div class="desc">
{{html-safe setting.description}}
</div>