summaryrefslogtreecommitdiff
path: root/app/views/profiles/notifications/_email_settings.html.haml
blob: f452a5b2eb592a974d2b0b6e46c6872837f814bc (plain)
1
2
3
4
5
6
7
8
9
10
- form = local_assigns.fetch(:form)
.form-group
  = form.label :notification_email, class: "label-bold"
  = form.select :notification_email, @user.public_verified_emails, { include_blank: false }, class: "select2", disabled: local_assigns.fetch(:email_change_disabled, nil)
  .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')