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

21 lines
401 B
Handlebars

<div class='penalty-post-controls'>
<label>
<div class='penalty-post-label'>
{{{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}}