blob: 741080ead2a8d02aa8bef5c59e2b61b1d029be5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<div bsModal #modal="bs-modal" class="modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content modal-lg">
<div class="modal-header">
<button type="button" class="close" aria-label="Close" (click)="hide()">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Report video</h4>
</div>
<div class="modal-body">
<form novalidate [formGroup]="form">
<div class="form-group">
<label for="description">Reason</label>
<textarea
id="reason" class="form-control" placeholder="Reason..."
formControlName="reason"
>
</textarea>
<div *ngIf="formErrors.reason" class="alert alert-danger">
{{ formErrors.reason }}
</div>
</div>
<div class="form-group">
<input
type="button" value="Report" class="btn btn-default form-control"
[disabled]="!form.valid" (click)="report()"
>
</div>
</form>
</div>
</div>
</div>
</div>
|