##// END OF EJS Templates
Rails3: html_safe for project_tree_options_for_select method in application helper...
Toshi MARUYAMA -
r8891:aa0935c13bdc
parent child
Show More
@@ -250,7 +250,7 module ApplicationHelper
250 250 def project_tree_options_for_select(projects, options = {})
251 251 s = ''
252 252 project_tree(projects) do |project, level|
253 name_prefix = (level > 0 ? (' ' * 2 * level + '» ') : '')
253 name_prefix = (level > 0 ? (' ' * 2 * level + '» ').html_safe : '')
254 254 tag_options = {:value => project.id}
255 255 if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project))
256 256 tag_options[:selected] = 'selected'
General Comments 0
You need to be logged in to leave comments. Login now