diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-06 08:44:58 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-06 08:44:58 -0700 |
commit | 80cfb5ff7048f94badc06e61fd7c4bf8f7e5524b (patch) | |
tree | 13e5a9f0f59f895e27235436dfadb96c08404079 | |
parent | c02846ff52457b19c5cdd6f67eb7086cb887e136 (diff) | |
parent | 19c91d7b72a8fbf5a315868c7089c1ecf499e811 (diff) | |
download | rails-80cfb5ff7048f94badc06e61fd7c4bf8f7e5524b.tar.gz rails-80cfb5ff7048f94badc06e61fd7c4bf8f7e5524b.tar.bz2 rails-80cfb5ff7048f94badc06e61fd7c4bf8f7e5524b.zip |
Merge pull request #6180 from soulim/fix_submit_tag_doc
Fix typo in submit_tag helper documentation
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index ef35a411ad..0d824bd574 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -408,7 +408,7 @@ module ActionView # # => <input class="form_submit" name="commit" type="submit" /> # # submit_tag "Edit", :disable_with => "Editing...", :class => "edit_button" - # # => <input class="edit_button" data-disable_with="Editing..." name="commit" type="submit" value="Edit" /> + # # => <input class="edit_button" data-disable-with="Editing..." name="commit" type="submit" value="Edit" /> # # submit_tag "Save", :confirm => "Are you sure?" # # => <input name='commit' type='submit' value='Save' data-confirm="Are you sure?" /> |