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