##// END OF EJS Templates
Allow existing single value custom fields to be changed to multiselect....
Jean-Philippe Lang -
r8603:f84688687bcb
parent child
Show More
@@ -71,7 +71,7 function toggle_custom_field_format() {
71 <p><%= f.text_field :name, :required => true %></p>
71 <p><%= f.text_field :name, :required => true %></p>
72 <p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();",
72 <p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();",
73 :disabled => !@custom_field.new_record? %></p>
73 :disabled => !@custom_field.new_record? %></p>
74 <p><%= f.check_box :multiple, :disabled => !@custom_field.new_record? %></p>
74 <p><%= f.check_box :multiple, :disabled => @custom_field.multiple && !@custom_field.new_record? %></p>
75 <p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label>
75 <p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label>
76 <%= f.text_field :min_length, :size => 5, :no_label => true %> -
76 <%= f.text_field :min_length, :size => 5, :no_label => true %> -
77 <%= f.text_field :max_length, :size => 5, :no_label => true %><br />(<%=l(:text_min_max_length_info)%>)</p>
77 <%= f.text_field :max_length, :size => 5, :no_label => true %><br />(<%=l(:text_min_max_length_info)%>)</p>
General Comments 0
You need to be logged in to leave comments. Login now