summaryrefslogtreecommitdiff
path: root/users/app/views/emails/_email.html.haml
blob: ea59cec25450b8a0b50b7352bbebabb85673e09d (plain)
1
2
3
4
5
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