Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prepend hidden field instead of appending

  • Loading branch information...
commit 9de802f4e6c542c1add12343e411b0c49060fc4e 1 parent 23e7f61
@felixbuenemann felixbuenemann authored kchien committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/formtastic.rb
View
2  lib/formtastic.rb
@@ -844,7 +844,7 @@ def select_input(method, options)
end
if html_options[:multiple]
- select_html << create_hidden_field_for_multiple_select(input_name)
+ select_html = create_hidden_field_for_multiple_select(input_name) << select_html
end
label_options = options_for_label(options).merge(:input_name => input_name)
Please sign in to comment.
Something went wrong with that request. Please try again.