summaryrefslogtreecommitdiffstats
path: root/app/views/trackers
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/trackers')
-rw-r--r--app/views/trackers/index.html.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/trackers/index.html.erb b/app/views/trackers/index.html.erb
index ef48bdc9e..0515ae335 100644
--- a/app/views/trackers/index.html.erb
+++ b/app/views/trackers/index.html.erb
@@ -18,10 +18,7 @@
<td align="center"><% unless tracker.workflows.count > 0 %><span class="icon icon-warning"><%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), {:controller => 'workflows', :action => 'edit', :tracker_id => tracker} %>)</span><% end %></td>
<td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %></td>
<td class="buttons">
- <%= link_to(l(:button_delete), tracker_path(tracker),
- :method => :delete,
- :confirm => l(:text_are_you_sure),
- :class => 'icon icon-del') %>
+ <%= delete_link tracker_path(tracker) %>
</td>
</tr>
<% end %>