summaryrefslogtreecommitdiff
path: root/app/views/users/unsubscribes/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/unsubscribes/show.html.haml')
-rw-r--r--app/views/users/unsubscribes/show.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/users/unsubscribes/show.html.haml b/app/views/users/unsubscribes/show.html.haml
new file mode 100644
index 00000000000..8b3dc69f3a7
--- /dev/null
+++ b/app/views/users/unsubscribes/show.html.haml
@@ -0,0 +1,11 @@
+- page_title _("Unsubscribe"), _("Admin Notifications")
+%h3.page-title Unsubscribe from Admin notifications
+
+%hr
+= form_tag unsubscribe_path(Base64.urlsafe_encode64(@email)) do
+ %p
+ Yes, I want to unsubscribe
+ %strong= @email
+ from any further admin emails.
+ .form-actions
+ = submit_tag 'Unsubscribe', class: 'gl-button btn btn-confirm'