Permalink
Browse files

Fix quotes at select_tag examples

  • Loading branch information...
1 parent 47320e9 commit 6410d2122069a7eced244daacc7fbd033a3c34f9 @andersondias andersondias committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -95,7 +95,7 @@ def form_tag(url_for_options = {}, options = {}, &block)
# # => <select id="colors" multiple="multiple" name="colors[]"><option>Red</option>
# # <option>Green</option><option>Blue</option></select>
#
- # select_tag "locations", "<option>Home</option><option selected="selected">Work</option><option>Out</option>".html_safe
+ # select_tag "locations", "<option>Home</option><option selected='selected'>Work</option><option>Out</option>".html_safe
# # => <select id="locations" name="locations"><option>Home</option><option selected='selected'>Work</option>
# # <option>Out</option></select>
#

0 comments on commit 6410d21

Please sign in to comment.