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

14 lines
365 B
Handlebars
Raw Normal View History

2020-09-04 07:24:14 -04:00
<label for={{name}}>{{title}}</label>
2020-02-07 04:34:58 -05:00
{{house-ads-chooser
settingValue=adValue
choices=adNames
onChange=(action (mut adValue))
}}
2020-09-04 07:24:14 -04:00
<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>
2020-09-04 07:24:14 -04:00
<p class="help">{{help}}</p>