debian-mirror-gitlab/app/views/profiles/notifications/_email_settings.html.haml

11 lines
557 B
Text
Raw Normal View History

2019-07-07 11:18:12 +05:30
- form = local_assigns.fetch(:form)
.form-group
= form.label :notification_email, class: "label-bold"
2021-11-11 11:23:49 +05:30
= form.select :notification_email, @user.public_verified_emails, { include_blank: _('Use primary email (%{email})') % { email: @user.email }, selected: @user.notification_email }, class: "select2", disabled: local_assigns.fetch(:email_change_disabled, nil)
2019-07-07 11:18:12 +05:30
.help-block
= local_assigns.fetch(:help_text, nil)
2021-03-11 19:13:27 +05:30
.form-group
%label{ for: 'user_email_opted_in' }
= form.check_box :email_opted_in
%span= _('Receive product marketing emails')