@@ -51,7 +51,7 module CustomFieldsHelper | |||
|
51 | 51 | blank_option = custom_field.is_required? ? |
|
52 | 52 | (custom_field.default_value.blank? ? "<option value=\"\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" : '') : |
|
53 | 53 | '<option></option>' |
|
54 | select_tag(field_name, blank_option + options_for_select(custom_field.possible_values_options(custom_value.customized), custom_value.value), :id => field_id) | |
|
54 | select_tag(field_name, blank_option.html_safe + options_for_select(custom_field.possible_values_options(custom_value.customized), custom_value.value), :id => field_id) | |
|
55 | 55 | else |
|
56 | 56 | text_field_tag(field_name, custom_value.value, :id => field_id) |
|
57 | 57 | end |
General Comments 0
You need to be logged in to leave comments.
Login now