summaryrefslogtreecommitdiff
path: root/app/views/profiles/notifications/_email_settings.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/notifications/_email_settings.html.haml')
-rw-r--r--app/views/profiles/notifications/_email_settings.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/profiles/notifications/_email_settings.html.haml b/app/views/profiles/notifications/_email_settings.html.haml
index f2121199412..b4db99a8bd4 100644
--- a/app/views/profiles/notifications/_email_settings.html.haml
+++ b/app/views/profiles/notifications/_email_settings.html.haml
@@ -5,6 +5,4 @@
.help-block
= local_assigns.fetch(:help_text, nil)
.form-group
- %label{ for: 'user_email_opted_in' }
- = form.check_box :email_opted_in
- %span= _('Receive product marketing emails')
+ = form.gitlab_ui_checkbox_component :email_opted_in, _('Receive product marketing emails')