mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Whitespaces ✂️
This commit is contained in:
parent
1de3f63e15
commit
2e487bc658
2 changed files with 6 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue