diff options
Diffstat (limited to 'client/src/app/shared/video/modals/video-report.component.html')
-rw-r--r-- | client/src/app/shared/video/modals/video-report.component.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/client/src/app/shared/video/modals/video-report.component.html b/client/src/app/shared/video/modals/video-report.component.html index cc1d361b3..e336b6660 100644 --- a/client/src/app/shared/video/modals/video-report.component.html +++ b/client/src/app/shared/video/modals/video-report.component.html | |||
@@ -12,17 +12,20 @@ | |||
12 | 12 | ||
13 | <form novalidate [formGroup]="form" (ngSubmit)="report()"> | 13 | <form novalidate [formGroup]="form" (ngSubmit)="report()"> |
14 | <div class="form-group"> | 14 | <div class="form-group"> |
15 | <textarea i18n-placeholder placeholder="Reason..." formControlName="reason" [ngClass]="{ 'input-error': formErrors['reason'] }"> | 15 | <textarea |
16 | </textarea> | 16 | i18n-placeholder placeholder="Reason..." formControlName="reason" |
17 | [ngClass]="{ 'input-error': formErrors['reason'] }" class="form-control" | ||
18 | ></textarea> | ||
17 | <div *ngIf="formErrors.reason" class="form-error"> | 19 | <div *ngIf="formErrors.reason" class="form-error"> |
18 | {{ formErrors.reason }} | 20 | {{ formErrors.reason }} |
19 | </div> | 21 | </div> |
20 | </div> | 22 | </div> |
21 | 23 | ||
22 | <div class="form-group inputs"> | 24 | <div class="form-group inputs"> |
23 | <span i18n class="action-button action-button-cancel" (click)="hide()"> | 25 | <input |
24 | Cancel | 26 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" |
25 | </span> | 27 | (click)="hide()" (key.enter)="hide()" |
28 | > | ||
26 | 29 | ||
27 | <input | 30 | <input |
28 | type="submit" i18n-value value="Submit" class="action-button-submit" | 31 | type="submit" i18n-value value="Submit" class="action-button-submit" |