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 can?(:edit, Redaction) || can?(:destroy, Redaction) %>
17 <% if can?(:edit, Redaction) %>
18 <%= button_to t(".edit"), edit_redaction_path(@redaction), :method => :get %></td>
20 <% if can?(:destroy, Redaction) %>
21 <%= button_to t(".destroy"), @redaction, :method => "delete", :remote => true, :data => { :confirm => t(".confirm") } %>