<% if User.current.allowed_to?(:select_project_section, project, :global => true) %> <% sections = ProjectSection.order(:lft) %> <% if sections.any? %>

<%= label(:project, :section_id, l(:label_project_section)) %> <%= parent_project_section_select_tag(sections, project.section, :disabled => project.child? || params[:parent_id]) %>

<% end %> <% end %>