Commit e2e29cf3 authored by jplang's avatar jplang

Adds maxlength to version name input (#27330).

Patch by Vasili Korol.

git-svn-id: https://svn.redmine.org/redmine/trunk@17746 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9aa4256b
......@@ -2,7 +2,7 @@
<%= error_messages_for 'version' %>
<div class="box tabular">
<p><%= f.text_field :name, :size => 60, :required => true %></p>
<p><%= f.text_field :name, :maxlength => 60, :size => 60, :required => true %></p>
<p><%= f.text_field :description, :size => 60 %></p>
<% unless @version.new_record? %>
<p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment