]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/account/account-settings/account-details/account-details.component.html
Add ability to update some configuration keys
[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 <input
4 type="checkbox" id="displayNSFW"
5 formControlName="displayNSFW"
6 >
7 <label for="displayNSFW"></label>
8 <label for="displayNSFW">Display videos that contain mature or explicit content</label>
9 </div>
10
11 <div class="form-group">
12 <input
13 type="checkbox" id="autoPlayVideo"
14 formControlName="autoPlayVideo"
15 >
16 <label for="autoPlayVideo"></label>
17 <label for="autoPlayVideo">Automatically plays video</label>
18 </div>
19
20 <input type="submit" value="Save" [disabled]="!form.valid">
21 </form>