OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/cost_reports/_group_by_item.rhtml

9 lines
373 B

<% 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>