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

Use 1.9 style hash on docs [ci skip]

This commit is contained in:
Carlos Antonio da Silva 2014-03-04 08:25:15 -03:00
parent 8b1ccd5949
commit 7231a135ea

View file

@ -465,7 +465,7 @@ module ActionView
# # <strong>Ask me!</strong> # # <strong>Ask me!</strong>
# # </button> # # </button>
# #
# button_tag "Checkout", data: { :disable_with => "Please wait..." } # button_tag "Checkout", data: { disable_with: "Please wait..." }
# # => <button data-disable-with="Please wait..." name="button" type="submit">Checkout</button> # # => <button data-disable-with="Please wait..." name="button" type="submit">Checkout</button>
# #
def button_tag(content_or_options = nil, options = nil, &block) def button_tag(content_or_options = nil, options = nil, &block)