aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-settings/account-details/account-details.component.html
blob: 0e8598e9e8de1107fc8a76e70a50f0e5bf362b83 (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
<form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
  <div class="form-group">
    <label for="nsfwPolicy">Default policy on videos containing sensitive content</label>
    <my-help helpType="custom" customHtml="With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video."></my-help>

    <div class="peertube-select-container">
      <select id="nsfwPolicy" formControlName="nsfwPolicy">
        <option value="do_not_list">Do not list</option>
        <option value="blur">Blur thumbnails</option>
        <option value="display">Display</option>
      </select>
    </div>
  </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>