1
0
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:
Jean-Philippe Lang 2018-12-16 07:06:51 +00:00
parent 7386ec037e
commit d4fdd9c5b9

View File

@ -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>