]>
Commit | Line | Data |
---|---|---|
af5e743b C |
1 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
2 | ||
3 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> | |
4 | <div class="form-group"> | |
5 | <label for="displayNSFW">Display NSFW videos</label> | |
6 | <input | |
7 | type="checkbox" id="displayNSFW" | |
8 | formControlName="displayNSFW" | |
9 | > | |
10 | <div *ngIf="formErrors['displayNSFW']" class="alert alert-danger"> | |
11 | {{ formErrors['displayNSFW'] }} | |
12 | </div> | |
13 | </div> | |
14 | ||
15 | <input type="submit" value="Update" class="btn btn-default" [disabled]="!form.valid"> | |
16 | </form> |