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

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

<% end %>

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

<%= t ".description" %> <%= @redaction.description.to_html %>
<% if can?(:edit, Redaction) || can?(:destroy, Redaction) %>
<% if can?(:edit, Redaction) %> <%= link_to t(".edit"), edit_redaction_path(@redaction), :class => "btn btn-outline-primary" %> <% end %> <% if can?(:destroy, Redaction) %> <%= link_to t(".destroy"), @redaction, :class => "btn btn-outline-danger", :data => { :turbo => true, :turbo_method => "DELETE", :turbo_confirm => t(".confirm") } %> <% end %>
<% end %>