%= error_messages_for 'project' %>
<%= f.text_field :name, :required => true, :size => 60 %>
<%= f.text_area :description, :rows => 8, :class => 'wiki-edit' %>
<%= f.text_field :identifier, :required => true, :size => 60, :disabled => @project.identifier_frozen?, :maxlength => Project::IDENTIFIER_MAX_LENGTH %> <% unless @project.identifier_frozen? %> <%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %> <% end %>
<%= f.text_field :homepage, :size => 60 %>
<%= f.check_box :is_public %>
<% unless @project.allowed_parents.compact.empty? %><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %>
<% end %> <% if @project.safe_attribute? 'inherit_members' %><%= f.check_box :inherit_members %>
<% end %> <% if @project.safe_attribute?('default_version_id') && (default_version_options = project_default_version_options(@project)).present? %><%= f.select :default_version_id, project_default_version_options(@project), :include_blank => true %>
<% end %> <% if @project.safe_attribute?('default_assigned_to_id') && (default_assigned_to_options = project_default_assigned_to_options(@project)).present? %><%= f.select :default_assigned_to_id, default_assigned_to_options, include_blank: true %>
<% end %> <%= wikitoolbar_for 'project_description' %> <% @project.custom_field_values.each do |value| %><%= custom_field_tag_with_label :project, value %>
<% end %> <%= call_hook(:view_projects_form, :project => @project, :form => f) %>