1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Whitespaces ✂️

This commit is contained in:
Rafael Mendonça França 2012-01-05 17:59:25 -03:00
parent 1de3f63e15
commit 2e487bc658
2 changed files with 6 additions and 7 deletions

View file

@ -333,7 +333,6 @@ module ActionView
disabled_attribute = ' disabled="disabled"' if disabled && option_value_selected?(value, disabled) disabled_attribute = ' disabled="disabled"' if disabled && option_value_selected?(value, disabled)
%(<option value="#{ERB::Util.html_escape(value)}"#{selected_attribute}#{disabled_attribute}#{html_attributes}>#{ERB::Util.html_escape(text)}</option>) %(<option value="#{ERB::Util.html_escape(value)}"#{selected_attribute}#{disabled_attribute}#{html_attributes}>#{ERB::Util.html_escape(text)}</option>)
end.join("\n").html_safe end.join("\n").html_safe
end end
# Returns a string of option tags that have been compiled by iterating over the +collection+ and assigning the # Returns a string of option tags that have been compiled by iterating over the +collection+ and assigning the