discourse-adplugin/assets/javascripts/discourse/templates/components/house-ads-list-setting.hbs

14 lines
367 B
Handlebars
Raw Normal View History

<label for="{{name}}">{{title}}</label>
2020-02-07 04:34:58 -05:00
{{house-ads-chooser
settingValue=adValue
choices=adNames
onChange=(action (mut adValue))
}}
<div class='setting-controls'>
{{#if changed}}
{{d-button class="ok" action=(action "save") icon="check"}}
{{d-button class="cancel" action=(action "cancel") icon="times"}}
{{/if}}
</div>
<p class='help'>{{help}}</p>