##// END OF EJS Templates
Fixes custom_field_tag helper broken by r9682....
Jean-Philippe Lang -
r9503:4f0aa2432c2c
parent child
Show More
@@ -51,7 +51,7 module CustomFieldsHelper
51 when "bool"
51 when "bool"
52 hidden_field_tag(field_name, '0') + check_box_tag(field_name, '1', custom_value.true?, tag_options)
52 hidden_field_tag(field_name, '0') + check_box_tag(field_name, '1', custom_value.true?, tag_options)
53 when "list"
53 when "list"
54 blank_option = ''
54 blank_option = ''.html_safe
55 unless custom_field.multiple?
55 unless custom_field.multiple?
56 if custom_field.is_required?
56 if custom_field.is_required?
57 unless custom_field.default_value.present?
57 unless custom_field.default_value.present?
General Comments 0
You need to be logged in to leave comments. Login now