summaryrefslogtreecommitdiff
path: root/app/views/emails/_email.html.haml
blob: 0a50ff822d3d318df520b597193eeaa0229db100 (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
        =icon :remove