From c330cc85a7e9fa11be160e810c77a3e1507fb25d Mon Sep 17 00:00:00 2001 From: Yoshiyuki Hirano Date: Sat, 16 Sep 2017 07:57:50 +0900 Subject: Update Form Helpers guide to fix example codes [ci skip] * It looks that example codes are not based on actual output. So I've fixed it. * Specifically: * There are no lines about utf-8 and authenticity_token. * The submit button doesn't have data-disabled-with attribute. * Each attribute order of html element is different from actual ones. --- guides/source/form_helpers.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'guides') diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index f46f1648b3..4ce67df93a 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -274,10 +274,12 @@ There are a few things to note here: The resulting HTML is: ```html -
- - - + + + + + +
``` @@ -299,9 +301,11 @@ You can create a similar binding without actually creating `
` tags with th which produces the following output: ```html - - - + + + + +
``` -- cgit v1.2.3