added partial for group by item

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@214 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent 6fe5c34219
commit 3d94b3f5a5
  1. 9
      app/views/cost_reports/_group_by_item.rhtml

@ -0,0 +1,9 @@
<% id = "group_by_" + name -%>
<tr id="<%= id %>">
<td style="width: 200px">
<%= link_to_function(image_tag('delete.png'), "$('#{id}').remove(); toggle_options($('add_group_by_select'), '#{name}', 'enable')") %>
<%= label %>
<input type="hidden" name="group_by[]" value="<%= name %>" />
</td>
<td><%= js_reorder_links(id, "reorder_group_by") %></td>
</tr>
Loading…
Cancel
Save