Extends custom field possible values textarea.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5005 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-03-04 14:52:47 +00:00
parent 8fb446e87f
commit 7257eabfc0
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,6 @@ function toggle_custom_field_format() {
<%= f.text_field :max_length, :size => 5, :no_label => true %><br>(<%=l(:text_min_max_length_info)%>)</p> <%= f.text_field :max_length, :size => 5, :no_label => true %><br>(<%=l(:text_min_max_length_info)%>)</p>
<p><%= f.text_field :regexp, :size => 50 %><br>(<%=l(:text_regexp_info)%>)</p> <p><%= f.text_field :regexp, :size => 50 %><br>(<%=l(:text_regexp_info)%>)</p>
<p id="custom_field_possible_values"><%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), <p id="custom_field_possible_values"><%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"),
:cols => 20,
:rows => 15 %> :rows => 15 %>
<br /><em><%= l(:text_custom_field_possible_values_info) %></em></p> <br /><em><%= l(:text_custom_field_possible_values_info) %></em></p>
<p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p> <p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p>

View File

@ -368,6 +368,8 @@ ul.properties li span {font-style:italic;}
#workflow_copy_form select { width: 200px; } #workflow_copy_form select { width: 200px; }
textarea#custom_field_possible_values {width: 99%}
.pagination {font-size: 90%} .pagination {font-size: 90%}
p.pagination {margin-top:8px;} p.pagination {margin-top:8px;}