Use new joined buttons style for groups of buttons

This commit is contained in:
Thomas Levine 2013-06-11 14:38:17 -04:00 committed by Tom Hughes
parent dc031d121c
commit c789acd39d
6 changed files with 15 additions and 21 deletions

View file

@ -13,10 +13,8 @@
</p>
<% 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, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %></td>
</tr>
</table>
<div class="buttons">
<%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
<%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %>
</div>
<% end %>