diff --git a/views/gamification_plugin_badges/index.html.erb b/views/gamification_plugin_badges/index.html.erb index 6f1baea..1362689 100644 --- a/views/gamification_plugin_badges/index.html.erb +++ b/views/gamification_plugin_badges/index.html.erb @@ -19,7 +19,7 @@ <%= gamification_plugin_badge.threshold %> <%= link_to 'Show', :action => :show, :id => gamification_plugin_badge.id %> <%= link_to 'Edit', :action => :edit, :id => gamification_plugin_badge.id %> - <%= link_to 'Destroy', :action => :destroy, :id => gamification_plugin_badge.id, method: :delete, data: { confirm: 'Are you sure?' } %> + <%= button_without_text :delete, _('Remove'), {:action => :destroy, :id => gamification_plugin_badge.id}, :method => :post, :confirm => _('Are you sure?') %> <% end %> -- libgit2 0.21.2