my-account-email-preferences.component.html 553 B

123456789101112131415
  1. <form role="form" (ngSubmit)="updateEmailPublic()" [formGroup]="form">
  2. <div class="form-group">
  3. <my-peertube-checkbox
  4. inputName="email-public" formControlName="email-public"
  5. i18n-labelText labelText="Allow email to be publicly displayed"
  6. >
  7. <ng-container ngProjectAs="description">
  8. <span i18n>Necessary to claim podcast RSS feeds.</span>
  9. </ng-container>
  10. </my-peertube-checkbox>
  11. </div>
  12. <input class="peertube-button orange-button" type="submit" i18n-value value="Save" [disabled]="!form.valid">
  13. </form>