]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/video-report.component.html
Redirect to uuid video route after upload
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-report.component.html
CommitLineData
4f8c0eb0
C
1<div bsModal #modal="bs-modal" class="modal" tabindex="-1">
2 <div class="modal-dialog">
3 <div class="modal-content modal-lg">
4
5 <div class="modal-header">
6 <button type="button" class="close" aria-label="Close" (click)="hide()">
7 <span aria-hidden="true">&times;</span>
8 </button>
0727cab0 9 <h4 class="title-page title-page-single">Report video</h4>
4f8c0eb0
C
10 </div>
11
12 <div class="modal-body">
13
0727cab0 14 <form novalidate [formGroup]="form" (ngSubmit)="report()">
4f8c0eb0 15 <div class="form-group">
2de96f4d 16 <label for="reason">Reason</label>
4f8c0eb0
C
17 <textarea
18 id="reason" class="form-control" placeholder="Reason..."
0727cab0 19 formControlName="reason" [ngClass]="{ 'input-error': formErrors['reason'] }"
4f8c0eb0
C
20 >
21 </textarea>
0727cab0 22 <div *ngIf="formErrors.reason" class="form-error">
4f8c0eb0
C
23 {{ formErrors.reason }}
24 </div>
25 </div>
26
27 <div class="form-group">
28 <input
0727cab0
C
29 type="submit" value="Report" class="orange-button"
30 [disabled]="!form.valid"
4f8c0eb0
C
31 >
32 </div>
33 </form>
34
35 </div>
36 </div>
37 </div>
38</div>