1 <div *
ngIf=
"error" class=
"alert alert-danger">{{ error }}
</div>
3 <form role=
"form" (ngSubmit)=
"updateDetails()" [formGroup]=
"form">
4 <div class=
"form-group">
6 type=
"checkbox" id=
"displayNSFW"
7 formControlName=
"displayNSFW"
9 <label for=
"displayNSFW"></label>
10 <label for=
"displayNSFW">Display videos that contain mature or explicit content
</label>
13 <div class=
"form-group">
15 type=
"checkbox" id=
"autoPlayVideo"
16 formControlName=
"autoPlayVideo"
18 <label for=
"autoPlayVideo"></label>
19 <label for=
"autoPlayVideo">Automatically plays video
</label>
22 <input type=
"submit" value=
"Save" [disabled]=
"!form.valid">