<p>
<b><%= t ".user" %></b>
- <%= link_to(@redaction.user.display_name, user_path(@redaction.user)) %>
+ <%= link_to @redaction.user.display_name, @redaction.user %>
</p>
<div class="richtext text-break">
<b><%= t ".description" %></b>
</div>
<% if can?(:edit, Redaction) || can?(:destroy, Redaction) %>
-<div class="buttons">
+<div>
<% if can?(:edit, Redaction) %>
- <%= button_to t(".edit"), edit_redaction_path(@redaction), :method => :get %></td>
+ <%= link_to t(".edit"), edit_redaction_path(@redaction), :class => "btn btn-outline-primary" %>
<% end %>
<% if can?(:destroy, Redaction) %>
- <%= button_to t(".destroy"), @redaction, :method => "delete", :remote => true, :data => { :confirm => t(".confirm") } %>
+ <%= link_to t(".destroy"), @redaction, :method => "delete", :class => "btn btn-outline-danger", :remote => true, :data => { :confirm => t(".confirm") } %>
<% end %>
</div>
<% end %>