<%= l(:label_questions_sections_plural) %>

<% QuestionsSection.for_project(@project).sorted.each do |section| %> <% end %>
<%= l(:field_name) %> <%=l(:field_type)%>
<%= h(section.name) %> <%= section.l_type %> <% if User.current.allowed_to?(:manage_sections, @project) %> <%= reorder_handle(section, :url => project_questions_section_path(@project, section), :param => 'questions_section') if respond_to?(:reorder_handle) %> <%= link_to l(:button_edit), {:controller => 'questions_sections', :action => 'edit', :project_id => @project, :id => section}, :class => 'icon icon-edit' %> <%= delete_link :controller => 'questions_sections', :action => 'destroy', :project_id => @project, :id => section %> <% end %>
<% if User.current.allowed_to?(:manage_sections, @project) %> <%= link_to image_tag('add.png', :style => 'vertical-align: middle;')+l(:label_questions_section_new), :controller => 'questions_sections', :action => 'new', :project_id => @project %> <% end %> <%= javascript_tag do %> $(function() { $("table.questions_sections tbody").positionedItems(); }); <% end if respond_to?(:reorder_handle) %>