Skip to content
Browse files

Revert "It's snowing!"

This reverts commit e428300.
  • Loading branch information...
1 parent 2f6383e commit 06632578c2ad8356e79530f5a641377182ba2ab7 @wycats wycats committed Aug 18, 2010
View
2 actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -538,7 +538,7 @@ def html_options_for_form(url_for_options, options, *parameters_for_url)
def extra_tags_for_form(html_options)
snowman_tag = tag(:input, :type => "hidden",
- :name => "_utf8", :value => "☃".html_safe)
+ :name => "utf8", :value => "✓".html_safe)
method = html_options.delete("method").to_s
View
2 actionpack/test/template/form_helper_test.rb
@@ -1513,7 +1513,7 @@ def test_form_for_with_labelled_builder
def snowman(method = nil)
txt = %{<div style="margin:0;padding:0;display:inline">}
- txt << %{<input name="_utf8" type="hidden" value="&#9731;" />}
+ txt << %{<input name="utf8" type="hidden" value="&#x2713;" />}
txt << %{<input name="_method" type="hidden" value="#{method}" />} if method
txt << %{</div>}
end
View
2 actionpack/test/template/form_tag_helper_test.rb
@@ -12,7 +12,7 @@ def snowman(options = {})
method = options[:method]
txt = %{<div style="margin:0;padding:0;display:inline">}
- txt << %{<input name="_utf8" type="hidden" value="&#9731;" />}
+ txt << %{<input name="utf8" type="hidden" value="&#x2713;" />}
txt << %{<input name="_method" type="hidden" value="#{method}" />} if method
txt << %{</div>}
end

0 comments on commit 0663257

Please sign in to comment.
Something went wrong with that request. Please try again.