summaryrefslogtreecommitdiffstats
path: root/app/views/trackers
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/trackers')
-rw-r--r--app/views/trackers/list.rhtml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml
index 06eaf7105..ab6eba575 100644
--- a/app/views/trackers/list.rhtml
+++ b/app/views/trackers/list.rhtml
@@ -17,8 +17,11 @@
<td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
<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 => 'edit', :id => tracker}) %></td>
- <td align="center" style="width:10%;">
- <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
+ <td class="buttons">
+ <%= link_to(l(:button_delete), { :action => 'destroy', :id => tracker },
+ :method => :post,
+ :confirm => l(:text_are_you_sure),
+ :class => 'icon icon-del') %>
</td>
</tr>
<% end %>