2019-03-20 10:36:22 +00:00
|
|
|
- form = local_assigns.fetch(:form)
|
|
|
|
.form-group
|
|
|
|
= form.label :notification_email, class: "label-bold"
|
2020-05-27 21:08:05 +00:00
|
|
|
= form.select :notification_email, @user.public_verified_emails, { include_blank: false }, class: "select2", disabled: local_assigns.fetch(:email_change_disabled, nil)
|
2019-03-20 10:36:22 +00:00
|
|
|
.help-block
|
|
|
|
= local_assigns.fetch(:help_text, nil)
|
2021-02-15 18:09:09 +00:00
|
|
|
.form-group
|
|
|
|
%label{ for: 'user_email_opted_in' }
|
|
|
|
= form.check_box :email_opted_in
|
|
|
|
%span= _('Receive product marketing emails')
|