1 <% @title = t('redaction.show.title') %>
2 <% content_for :heading do %>
3 <h1><%= t('redaction.show.heading', :title => @redaction.title) %></h1>
7 <b><%= t 'redaction.show.user' %></b>
8 <%= link_to(@redaction.user.display_name, {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %>
11 <b><%= t 'redaction.show.description' %></b>
12 <%= @redaction.description.to_html %>
15 <% if @user and @user.moderator? %>
18 <td><%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
19 <td><%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %></td>