% @title = t('redaction.show.title') %>
<% content_for :heading do %>
<%= t('redaction.show.heading', :title => @redaction.title) %>
<% end %>
<%= t 'redaction.show.user' %>
<%= link_to(@redaction.user.display_name, user_path(@redaction.user)) %>
<%= t 'redaction.show.description' %>
<%= @redaction.description.to_html %>
<% if current_user and current_user.moderator? %>
<%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %>
<%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %>
<% end %>