]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/show.html.erb
Update Polatch 2 to 2.3-407-g55bf495 build
[rails.git] / app / views / redactions / show.html.erb
index e9f8ac3cc467c4df02828ad36f383298104746a7..1a24f15b43d6b34725f52ca34fc80326ca6ae539 100644 (file)
@@ -14,7 +14,7 @@
 <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>
+<td><%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %></td>
 </tr>
 </table>
 <% end %>