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 %>
(<%=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"), - :rows => 15 %> -
<%= l(:text_custom_field_possible_values_info) %>

+

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

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

<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>