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.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/profiles/notifications/_email_settings.html.haml b/app/views/profiles/notifications/_email_settings.html.haml
new file mode 100644
index 00000000000..34dcf8f5402
--- /dev/null
+++ b/app/views/profiles/notifications/_email_settings.html.haml
@@ -0,0 +1,6 @@
+- 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)