]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/account/account-settings/account-details/account-details.component.html
9dcc66a7535ec802e7bc65d28b32f7376a89f56d
[github/Chocobozzz/PeerTube.git] / client / src / app / account / account-settings / account-details / account-details.component.html
1 <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
2 <div class="form-group">
3 <label for="nsfwPolicy">Default policy on videos containing sensitive content</label>
4 <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>
5
6 <div class="peertube-select-container">
7 <select id="nsfwPolicy" formControlName="nsfwPolicy">
8 <option value="do_not_list">Do not list</option>
9 <option value="blur">Blur thumbnails</option>
10 <option value="display">Display</option>
11 </select>
12 </div>
13 <div *ngIf="formErrors.nsfwPolicy" class="form-error">
14 {{ formErrors.nsfwPolicy }}
15 </div>
16 </div>
17
18 <div class="form-group">
19 <input
20 type="checkbox" id="autoPlayVideo"
21 formControlName="autoPlayVideo"
22 >
23 <label for="autoPlayVideo"></label>
24 <label for="autoPlayVideo">Automatically plays video</label>
25 </div>
26
27 <input type="submit" value="Save" [disabled]="!form.valid">
28 </form>