-<% if @user and @user.moderator? %>
-<table>
-<tr>
-<td><%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
-<td><%= button_to t('redaction.show.destroy'), @redaction, :confirm => t('redaction.show.confirm'), :method => "delete", :remote => true %></td>
-</tr>
-</table>
+<% if can?(:edit, Redaction) || can?(:destroy, Redaction) %>
+<div>
+ <% 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, :method => "delete", :class => "btn btn-outline-danger", :remote => true, :data => { :confirm => t(".confirm") } %>
+ <% end %>
+</div>