Permalink
Browse files

Fix typo in submit_tag helper documentation

  • Loading branch information...
1 parent c02846f commit 19c91d7b72a8fbf5a315868c7089c1ecf499e811 @soulim soulim committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -408,7 +408,7 @@ def radio_button_tag(name, value, checked = false, options = {})
# # => <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?" />

0 comments on commit 19c91d7

Please sign in to comment.