0e8598e9e8de1107fc8a76e70a50f0e5bf362b83
[oweals/peertube.git] /
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>
14
15   <div class="form-group">
16     <input
17       type="checkbox" id="autoPlayVideo"
18       formControlName="autoPlayVideo"
19     >
20     <label for="autoPlayVideo"></label>
21     <label for="autoPlayVideo">Automatically plays video</label>
22   </div>
23
24   <input type="submit" value="Save" [disabled]="!form.valid">
25 </form>