2 <div class=
"modal-header">
3 <h4 i18n
class=
"modal-title">Moderation comment
</h4>
5 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"hide()"></my-global-icon>
8 <div class=
"modal-body">
9 <form novalidate [formGroup]=
"form" (ngSubmit)=
"banUser()">
10 <div class=
"form-group">
12 formControlName=
"moderationComment" ngbAutofocus i18-placeholder
placeholder=
"Comment this report…"
13 [ngClass]=
"{ 'input-error': formErrors['moderationComment'] }" class=
"form-control">
15 <div *
ngIf=
"formErrors.moderationComment" class=
"form-error">
16 {{ formErrors.moderationComment }}
20 <div class=
"form-group" i18n
>
21 This comment can only be seen by you or the other moderators.
24 <div class=
"form-group inputs">
26 type=
"button" role=
"button" i18n-value
value=
"Cancel" class=
"action-button action-button-cancel"
27 (click)=
"hide()" (key.enter)=
"hide()"
31 type=
"submit" i18n-value
value=
"Update this comment" class=
"action-button-submit"
32 [disabled]=
"!form.valid"