diff options
Diffstat (limited to 'client/src/app/account/account-settings/account-details/account-details.component.html')
-rw-r--r-- | client/src/app/account/account-settings/account-details/account-details.component.html | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/client/src/app/account/account-settings/account-details/account-details.component.html b/client/src/app/account/account-settings/account-details/account-details.component.html index 593b87e29..c8e1e73b0 100644 --- a/client/src/app/account/account-settings/account-details/account-details.component.html +++ b/client/src/app/account/account-settings/account-details/account-details.component.html | |||
@@ -1,20 +1,23 @@ | |||
1 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | 1 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
2 | 2 | ||
3 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> | 3 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> |
4 | <input | 4 | <div class="form-group"> |
5 | type="checkbox" id="displayNSFW" | 5 | <input |
6 | formControlName="displayNSFW" | 6 | type="checkbox" id="displayNSFW" |
7 | > | 7 | formControlName="displayNSFW" |
8 | <label for="displayNSFW">Display videos that contain mature or explicit content</label> | 8 | > |
9 | <div *ngIf="formErrors['displayNSFW']" class="alert alert-danger"> | 9 | <label for="displayNSFW"></label> |
10 | {{ formErrors['displayNSFW'] }} | 10 | <label for="displayNSFW">Display videos that contain mature or explicit content</label> |
11 | </div> | ||
12 | |||
13 | <div class="form-group"> | ||
14 | <input | ||
15 | type="checkbox" id="autoPlayVideo" | ||
16 | formControlName="autoPlayVideo" | ||
17 | > | ||
18 | <label for="autoPlayVideo"></label> | ||
19 | <label for="autoPlayVideo">Automatically plays video</label> | ||
11 | </div> | 20 | </div> |
12 | <br/> | ||
13 | <input | ||
14 | type="checkbox" id="autoPlayVideo" | ||
15 | formControlName="autoPlayVideo" | ||
16 | > | ||
17 | <label for="autoPlayVideo">Automatically plays video</label> | ||
18 | 21 | ||
19 | <input type="submit" value="Save" [disabled]="!form.valid"> | 22 | <input type="submit" value="Save" [disabled]="!form.valid"> |
20 | </form> | 23 | </form> |