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

7 lines
319 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"
= form.select :notification_email, @user.all_emails, { include_blank: false }, class: "select2", disabled: local_assigns.fetch(:email_change_disabled, nil)
.help-block
= local_assigns.fetch(:help_text, nil)