Defect #27330 » version_form_name_maxlength.diff
_form.html.erb (working copy) | ||
---|---|---|
2 | 2 |
<%= error_messages_for 'version' %> |
3 | 3 | |
4 | 4 |
<div class="box tabular"> |
5 |
<p><%= f.text_field :name, :size => 60, :required => true %></p> |
|
5 |
<p><%= f.text_field :name, :maxlength => 60, :size => 60, :required => true %></p>
|
|
6 | 6 |
<p><%= f.text_field :description, :size => 60 %></p> |
7 | 7 |
<% unless @version.new_record? %> |
8 | 8 |
<p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p> |