UX: show user email when unsubscribing

This commit is contained in:
Arpit Jalan
2017-06-09 09:19:09 +05:30
parent 8e2e962b1a
commit 1c0bbcd580
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
<%- else %>
<br/>
<h2><%= t 'unsubscribe.title'%></h2>
<div><%= t('unsubscribe.email_description', email: @user.email).html_safe %></div>
<br/>
<%= form_tag(email_perform_unsubscribe_path(key: params[:key])) do %>
<%if @topic %>