<%#-- copyright OpenProject is a project management system. Copyright (C) 2012-2013 the OpenProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. See doc/COPYRIGHT.rdoc for more details. ++#%> <%= fields_for :work_package, work_package, :builder => TabularFormBuilder do |f| %> <% attributes = work_package_form_two_column_attributes(f, work_package, :priorities => priorities, :project => project) %> <% left_attributes, right_attributes = attributes.in_groups(2, false) %>
<% left_attributes.each do |attribute| %>

<%= attribute.field %>

<% end %>
<% right_attributes.each do |attribute| %>

<%= attribute.field %>

<% end %>
<%= render :partial => 'form_custom_fields', :locals => { :work_package => work_package } %> <% end %>