<% @title = t(".title") %> <% content_for :heading do %>

<%= t(".heading", :title => @redaction.title) %>

<% end %>

<%= t ".user" %> <%= link_to(@redaction.user.display_name, user_path(@redaction.user)) %>

<%= t ".description" %> <%= @redaction.description.to_html %>
<% if can?(:edit, Redaction) || can?(:destroy, Redaction) %>
<% if can?(:edit, Redaction) %> <%= button_to t(".edit"), edit_redaction_path(@redaction), :method => :get %> <% end %> <% if can?(:destroy, Redaction) %> <%= button_to t(".destroy"), @redaction, :method => "delete", :remote => true, :data => { :confirm => t(".confirm") } %> <% end %>
<% end %>