Skip to content

Commit

Permalink
Fix typo in submit_tag helper documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
soulim committed May 6, 2012
1 parent c02846f commit 19c91d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/form_tag_helper.rb
Expand Up @@ -408,7 +408,7 @@ def radio_button_tag(name, value, checked = false, options = {})
# # => <input class="form_submit" name="commit" type="submit" /> # # => <input class="form_submit" name="commit" type="submit" />
# #
# submit_tag "Edit", :disable_with => "Editing...", :class => "edit_button" # 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?" # submit_tag "Save", :confirm => "Are you sure?"
# # => <input name='commit' type='submit' value='Save' data-confirm="Are you sure?" /> # # => <input name='commit' type='submit' value='Save' data-confirm="Are you sure?" />
Expand Down

0 comments on commit 19c91d7

Please sign in to comment.