提交 80cfb5ff 编写于 作者: V Vijay Dev

Merge pull request #6180 from soulim/fix_submit_tag_doc

Fix typo in submit_tag helper documentation
......@@ -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?" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册