Skip to content

Commit

Permalink
fixed problem with select tags not showing options
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrisoxide committed Nov 23, 2010
1 parent ff33cca commit c432a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/smerf_forms_helper.rb
Expand Up @@ -318,7 +318,7 @@ def get_selectionbox(question, level)

# Note the additional [] in the select_tag name, without this we only get
# one choice in params, adding the [] gets all choices as an array
html = "\n" + select_tag("responses[#{question.code}][]", answers, :multiple =>
html = "\n" + select_tag("responses[#{question.code}][]", raw(answers), :multiple =>
# Check if multiple choice
(question.selectionbox_multiplechoice and
!question.selectionbox_multiplechoice.blank?() and
Expand Down

0 comments on commit c432a3f

Please sign in to comment.