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

Docfix (closes #10256)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2007-11-25 21:59:17 +00:00
parent 4d96ece6ec
commit 566903484c

View file

@ -320,8 +320,8 @@ module ActionView
# submit_tag nil, :class => "form_submit"
# # => <input class="form_submit" name="commit" type="submit" />
#
# submit_tag "Edit", :disable_width => "Editing...", :class => 'edit-button'
# # => <input class="edit-button" disable_width="Editing..." name="commit" type="submit" value="Edit" />
# submit_tag "Edit", :disable_with => "Editing...", :class => 'edit-button'
# # => <input class="edit-button" disable_with="Editing..." name="commit" type="submit" value="Edit" />
def submit_tag(value = "Save changes", options = {})
options.stringify_keys!