From: Eric Davis Date: Thu, 19 Aug 2010 04:30:41 +0000 (+0000) Subject: Merged r3910 from trunk. X-Git-Tag: 1.0.1~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6408945e53063424f3e43cb950d52a9ad873591;p=redmine.git Merged r3910 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3960 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/_form.rhtml b/app/views/projects/_form.rhtml index 30848e4cd..fbc6714c8 100644 --- a/app/views/projects/_form.rhtml +++ b/app/views/projects/_form.rhtml @@ -2,14 +2,14 @@
-

<%= f.text_field :name, :required => true %>
<%= l(:text_caracters_maximum, 30) %>

+

<%= f.text_field :name, :required => true, :maxlength => 30 %>
<%= l(:text_caracters_maximum, 30) %>

<% unless @project.allowed_parents.compact.empty? %>

<%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %>

<% end %>

<%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %>

-

<%= f.text_field :identifier, :required => true, :disabled => @project.identifier_frozen? %> +

<%= f.text_field :identifier, :required => true, :disabled => @project.identifier_frozen?, :maxlength => 20 %> <% unless @project.identifier_frozen? %>
<%= l(:text_length_between, :min => 1, :max => 20) %> <%= l(:text_project_identifier_info) %> <% end %>