@@ -46,7 +46,7 module ProjectsHelper | |||
|
46 | 46 | options = '' |
|
47 | 47 | options << "<option value=''></option>" if project.allowed_parents.include?(nil) |
|
48 | 48 | options << project_tree_options_for_select(project.allowed_parents.compact, :selected => selected) |
|
49 | content_tag('select', options, :name => 'project[parent_id]', :id => 'project_parent_id') | |
|
49 | content_tag('select', options.html_safe, :name => 'project[parent_id]', :id => 'project_parent_id') | |
|
50 | 50 | end |
|
51 | 51 | |
|
52 | 52 | # Renders a tree of projects as a nested set of unordered lists |
General Comments 0
You need to be logged in to leave comments.
Login now