aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-settings/account-details/account-details.component.html
blob: 8f1475a4d0d848161d9886dae57a583e4a723618 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
  <div class="form-group">
    <input
      type="checkbox" id="displayNSFW"
      formControlName="displayNSFW"
    >
    <label for="displayNSFW"></label>
    <label for="displayNSFW">Display videos that contain mature or explicit content</label>
  </div>

  <div class="form-group">
    <input
      type="checkbox" id="autoPlayVideo"
      formControlName="autoPlayVideo"
    >
    <label for="autoPlayVideo"></label>
    <label for="autoPlayVideo">Automatically plays video</label>
  </div>

  <input type="submit" value="Save" [disabled]="!form.valid">
</form>