]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/modal/video-report.component.html
Migrate to bootstrap 4 and ng-bootstrap
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / modal / video-report.component.html
CommitLineData
63347a0f
C
1<ng-template #modal>
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Report video</h4>
4 <span class="close" aria-label="Close" role="button" (click)="hide()"></span>
5 </div>
4f8c0eb0 6
63347a0f 7 <div class="modal-body">
4f8c0eb0 8
63347a0f
C
9 <form novalidate [formGroup]="form" (ngSubmit)="report()">
10 <div class="form-group">
11 <textarea i18n-placeholder placeholder="Reason..." formControlName="reason" [ngClass]="{ 'input-error': formErrors['reason'] }">
12 </textarea>
13 <div *ngIf="formErrors.reason" class="form-error">
14 {{ formErrors.reason }}
15 </div>
16 </div>
5f0805d3 17
63347a0f
C
18 <div class="form-group inputs">
19 <span i18n class="action-button action-button-cancel" (click)="hide()">
20 Cancel
21 </span>
4f8c0eb0 22
63347a0f
C
23 <input
24 type="submit" i18n-value value="Submit" class="action-button-submit"
25 [disabled]="!form.valid"
26 >
4f8c0eb0 27 </div>
63347a0f
C
28 </form>
29
4f8c0eb0 30 </div>
63347a0f 31</ng-template>