mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 09:21:12 +00:00
Adds maxlength to version name input (#27330).
Patch by Vasili Korol. git-svn-id: http://svn.redmine.org/redmine/trunk@17746 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7386ec037e
commit
d4fdd9c5b9
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user