From 7257eabfc06acdbdb034ef86deda70909f2b59fc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 4 Mar 2011 14:52:47 +0000 Subject: [PATCH] Extends custom field possible values textarea. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5005 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/_form.rhtml | 1 - public/stylesheets/application.css | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml index a71df87aa..f2be42924 100644 --- a/app/views/custom_fields/_form.rhtml +++ b/app/views/custom_fields/_form.rhtml @@ -61,7 +61,6 @@ function toggle_custom_field_format() { <%= f.text_field :max_length, :size => 5, :no_label => true %>
(<%=l(:text_min_max_length_info)%>)

<%= f.text_field :regexp, :size => 50 %>
(<%=l(:text_regexp_info)%>)

<%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), - :cols => 20, :rows => 15 %>
<%= l(:text_custom_field_possible_values_info) %>

<%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %>

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 911c7c8ef..685068459 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -368,6 +368,8 @@ ul.properties li span {font-style:italic;} #workflow_copy_form select { width: 200px; } +textarea#custom_field_possible_values {width: 99%} + .pagination {font-size: 90%} p.pagination {margin-top:8px;}