mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 12:33:45 +08:00
1ad06eb764
This merges the two modals code to remove duplication and implements a more consistent design.
15 lines
421 B
Handlebars
15 lines
421 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={{this.postAction}} @content={{this.penaltyActions}} @onChange={{action "penaltyChanged"}} />
|
|
</div>
|
|
|
|
{{#if this.editing}}
|
|
<div class="penalty-post-edit">
|
|
<Textarea @value={{this.postEdit}} class="post-editor" />
|
|
</div>
|
|
{{/if}}
|