summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/_index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/custom_fields/_index.html.erb')
-rw-r--r--app/views/custom_fields/_index.html.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb
index b0d3c277b..7a5d37283 100644
--- a/app/views/custom_fields/_index.html.erb
+++ b/app/views/custom_fields/_index.html.erb
@@ -1,4 +1,4 @@
-<table class="list">
+<table class="list custom_fields">
<thead><tr>
<th><%=l(:field_name)%></th>
<th><%=l(:field_field_format)%></th>
@@ -7,7 +7,6 @@
<th><%=l(:field_is_for_all)%></th>
<th><%=l(:label_used_by)%></th>
<% end %>
- <th><%=l(:button_sort)%></th>
<th></th>
</tr></thead>
<tbody>
@@ -21,8 +20,8 @@
<td><%= checked_image custom_field.is_for_all? %></td>
<td><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
<% end %>
- <td class="reorder"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field, :back_url => back_url}, :put) %></td>
<td class="buttons">
+ <%= reorder_handle(custom_field, :url => custom_field_path(custom_field), :param => 'custom_field') %>
<%= delete_link custom_field_path(custom_field) %>
</td>
</tr>