diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb index a84c5350c..db8823ee2 100644 --- a/app/models/issue_category.rb +++ b/app/models/issue_category.rb @@ -23,7 +23,7 @@ class IssueCategory < ActiveRecord::Base validates_presence_of :name validates_uniqueness_of :name, :scope => [:project_id] - validates_length_of :name, :maximum => 30 + validates_length_of :name, :maximum => 60 attr_protected :id safe_attributes 'name', 'assigned_to_id' diff --git a/app/views/issue_categories/_form.html.erb b/app/views/issue_categories/_form.html.erb index c3b20936c..8a55d9eee 100644 --- a/app/views/issue_categories/_form.html.erb +++ b/app/views/issue_categories/_form.html.erb @@ -1,6 +1,6 @@ <%= error_messages_for 'category' %>
<%= f.text_field :name, :size => 30, :required => true %>
+<%= f.text_field :name, :size => 60, :required => true %>
<%= f.select :assigned_to_id, principals_options_for_select(@project.assignable_users, @category.assigned_to), :include_blank => true %>