X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5e76b66271c3e30ea759062b5273b64c19538911..fb16b5ed14fa9f7f043522674fb4f37628f07c8e:/app/views/trace/view.html.erb diff --git a/app/views/trace/view.html.erb b/app/views/trace/view.html.erb index df45f2f2d..8fc17a1f2 100644 --- a/app/views/trace/view.html.erb +++ b/app/views/trace/view.html.erb @@ -59,6 +59,6 @@ <%= if_user(@trace.user) do %> <%= button_to t('trace.view.edit_track'), trace_edit_path(@trace) %> <% end %> - <%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %> + <%= button_to t('trace.view.delete_track'), { :controller => 'trace', :action => 'delete', :id => @trace.id }, :data => { :confirm => t('trace.view.confirm_delete') } %> <% end %>