<%#-- 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. ++#%> <% extend TimelinesHelper %> <%= header_tags %>

<%= Type.model_name.human %>

<%= form_tag(:controller => "/projects", :action => "types", :id => @project) do %> <% Type.all.each do |type| %> "> <% end %>
<%= Type.human_attribute_name(:is_default) %> <%= Type.human_attribute_name(:active) %> <%= Type.human_attribute_name(:name) %> <%= Type.human_attribute_name(:in_aggregation) %>
<%= checked_image(type.enabled_in?(@project)) %> <%= check_box_tag "project[planning_element_type_ids][]", type.id, @project.types.include?(type), :id => "project_planning_element_type_ids_#{type.id}" %> <%= checked_image(type.in_aggregation) %>

<%= submit_tag l(:button_save) %>

<% end %>
<%= render :partial => 'scenarios/index' %>