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:
parent
8b1ccd5949
commit
7231a135ea
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue