1 <div *ngIf="error" class="alert alert-danger">{{ error }}</div>
3 <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
4 <div class="form-group">
5 <label for="displayNSFW">Display NSFW videos</label>
7 type="checkbox" id="displayNSFW"
8 formControlName="displayNSFW"
10 <div *ngIf="formErrors['displayNSFW']" class="alert alert-danger">
11 {{ formErrors['displayNSFW'] }}
15 <input type="submit" value="Update" class="btn btn-default" [disabled]="!form.valid">