]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
Fix checkbox margins
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-video-settings / my-account-video-settings.component.html
1 <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
2 <div class="form-group">
3 <label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label>
4 <my-help
5 helpType="custom" i18n-customHtml
6 customHtml="With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video."
7 ></my-help>
8
9 <div class="peertube-select-container">
10 <select id="nsfwPolicy" formControlName="nsfwPolicy">
11 <option i18n value="do_not_list">Do not list</option>
12 <option i18n value="blur">Blur thumbnails</option>
13 <option i18n value="display">Display</option>
14 </select>
15 </div>
16 </div>
17
18 <div class="form-group">
19 <my-peertube-checkbox
20 inputName="webTorrentEnabled" formControlName="webTorrentEnabled"
21 i18n-labelText labelText="Use WebTorrent to exchange parts of the video with others"
22 ></my-peertube-checkbox>
23 </div>
24
25 <div class="form-group">
26 <my-peertube-checkbox
27 inputName="autoPlayVideo" formControlName="autoPlayVideo"
28 i18n-labelText labelText="Automatically plays video"
29 ></my-peertube-checkbox>
30 </div>
31
32 <input type="submit" i18n-value value="Save" [disabled]="!form.valid">
33 </form>