@@ -24,7 +24,7 module CustomFieldsHelper | |||||
24 | end |
|
24 | end | |
25 |
|
25 | |||
26 | # Return custom field html tag corresponding to its format |
|
26 | # Return custom field html tag corresponding to its format | |
27 |
def custom_field_tag(name, custom_value) |
|
27 | def custom_field_tag(name, custom_value) | |
28 | custom_field = custom_value.custom_field |
|
28 | custom_field = custom_value.custom_field | |
29 | field_name = "#{name}[custom_field_values][#{custom_field.id}]" |
|
29 | field_name = "#{name}[custom_field_values][#{custom_field.id}]" | |
30 | field_name << "[]" if custom_field.multiple? |
|
30 | field_name << "[]" if custom_field.multiple? |
General Comments 0
You need to be logged in to leave comments.
Login now