summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/_form.html.erb b/app/views/versions/_form.html.erb
index ade741f26..58d3e336a 100644
--- a/app/views/versions/_form.html.erb
+++ b/app/views/versions/_form.html.erb
@@ -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>