summaryrefslogtreecommitdiff
path: root/app/views/emails
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/emails')
-rw-r--r--app/views/emails/_email.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/emails/_email.html.haml b/app/views/emails/_email.html.haml
new file mode 100644
index 0000000..ea59cec
--- /dev/null
+++ b/app/views/emails/_email.html.haml
@@ -0,0 +1,6 @@
+= wrapped(email, local_assigns) do
+ = email
+ - if local_assigns[:with].try(:include?, :delete)
+ = link_to(user_email_alias_path(@user, email), :method => :delete) do
+ %i.icon-remove
+