summaryrefslogtreecommitdiff
path: root/app/views/devise/shared/_email_opted_in.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/shared/_email_opted_in.html.haml')
-rw-r--r--app/views/devise/shared/_email_opted_in.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/devise/shared/_email_opted_in.html.haml b/app/views/devise/shared/_email_opted_in.html.haml
index 898b8f31f1d..d8ed0028222 100644
--- a/app/views/devise/shared/_email_opted_in.html.haml
+++ b/app/views/devise/shared/_email_opted_in.html.haml
@@ -3,5 +3,4 @@
.gl-mb-3.js-email-opt-in.hidden
.gl-font-weight-bold.gl-mb-3
= _('Email updates (optional)')
- = f.check_box :email_opted_in
- = f.label :email_opted_in, _("I'd like to receive updates about GitLab via email"), class: 'gl-font-weight-normal'
+ = f.gitlab_ui_checkbox_component :email_opted_in, _("I'd like to receive updates about GitLab via email")