Use new joined buttons style for groups of buttons
This commit is contained in:
parent
dc031d121c
commit
c789acd39d
6 changed files with 15 additions and 21 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue