summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/_form.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-04 14:55:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-04 14:55:33 +0000
commit923d1f831fb7a379e13d378b9b1f5c77c2934409 (patch)
tree75d4d1d11dd1a12470c18fc9fea871906ab1b469 /app/views/custom_fields/_form.rhtml
parent7257eabfc06acdbdb034ef86deda70909f2b59fc (diff)
downloadredmine-923d1f831fb7a379e13d378b9b1f5c77c2934409.tar.gz
redmine-923d1f831fb7a379e13d378b9b1f5c77c2934409.zip
Removes duplicate DOM id in custom field form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5006 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields/_form.rhtml')
-rw-r--r--app/views/custom_fields/_form.rhtml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml
index f2be42924..d34c756d3 100644
--- a/app/views/custom_fields/_form.rhtml
+++ b/app/views/custom_fields/_form.rhtml
@@ -60,9 +60,10 @@ function toggle_custom_field_format() {
<%= f.text_field :min_length, :size => 5, :no_label => true %> -
<%= 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 id="custom_field_possible_values"><%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"),
- :rows => 15 %>
-<br /><em><%= l(:text_custom_field_possible_values_info) %></em></p>
+<p>
+ <%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
+ <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>
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
</div>