discourse/app/assets/javascripts/admin/addon/templates/components/penalty-post-action.hbs

15 lines
401 B
Handlebars

<div class="penalty-post-controls">
<label>
<div class="penalty-post-label">
{{html-safe (i18n "admin.user.penalty_post_actions")}}
</div>
</label>
<ComboBox @value={{postAction}} @content={{penaltyActions}} @onChange={{action "penaltyChanged"}} />
</div>
{{#if editing}}
<div class="penalty-post-edit">
<Textarea @value={{postEdit}} class="post-editor" />
</div>
{{/if}}