<%= link_to(contact.status, edit_contact_path(contact), :title => t("contact.#{ contact.action }.title", :name => contact.receiver.name)) %> <% if controller.controller_name == "contacts" %>
<%= link_to(t('contact.delete'), contact_path(contact), :method => :delete, :confirm => t('contact.confirm_delete'), :remote => true) %> <% end %>