mirror of
https://github.com/redmine/redmine.git
synced 2026-02-21 05:57:49 +01: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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user