]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/show.html.erb
Improve styling of redaction view
[rails.git] / app / views / redactions / show.html.erb
index 162dd6bfe4617e07bab76e44c6d512134b710d4a..e9f8ac3cc467c4df02828ad36f383298104746a7 100644 (file)
 </p>
 
 <% if @user and @user.moderator? %>
-<%= link_to t('redaction.show.edit'), edit_redaction_path(@redaction) %>
-<%= button_to(t('redaction.show.destroy'), @redaction, :confirm => t('redaction.show.confirm'), :method => "delete", :remote => true) %>
+<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>
 <% end %>