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

21 lines
411 B
Handlebars

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