Project

General

Profile

Defect #27330 » version_form_name_maxlength_v2.patch

CORRECTED - Vasili Korol, 2017-10-30 16:10

View differences:

app/views/versions/_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>
(2-2/2)