diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-08-19 14:14:32 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-08-19 14:14:32 +0530 |
commit | 5b5437caebe1449a33d341036a5c0616201ab2de (patch) | |
tree | 199cd2f940bca803924207ef023612303e380fed /guides | |
parent | 484b3ca4023c04fa31c7dc8c3de4dcd428d6e63b (diff) | |
download | rails-5b5437caebe1449a33d341036a5c0616201ab2de.tar.gz rails-5b5437caebe1449a33d341036a5c0616201ab2de.tar.bz2 rails-5b5437caebe1449a33d341036a5c0616201ab2de.zip |
Grammar changes on getting started guide, specify where exactly the example is that we are referring to. [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 73dbb2bc40..2435c82239 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -480,7 +480,7 @@ to find a template called `articles/new` within `app/views` for the application. The format for this template can only be `html` and the default handler for HTML is `erb`. Rails uses other handlers for other formats. `builder` handler is used to build XML templates and `coffee` handler uses -CoffeeScript to build JavaScript templates. Because you want to create a new +CoffeeScript to build JavaScript templates. Since you want to create a new HTML form, you will be using the `ERB` language which is designed to embed Ruby in HTML. @@ -523,7 +523,7 @@ method called `form_for`. To use this method, add this code into <% end %> ``` -If you refresh the page now, you'll see the exact same form as in the example. +If you refresh the page now, you'll see the exact same form from our example above. Building forms in Rails is really just that easy! When you call `form_for`, you pass it an identifying object for this |