aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_view_overview.md
diff options
context:
space:
mode:
authorblahedo <github@blahedo.org>2013-07-05 23:04:25 -0400
committerblahedo <github@blahedo.org>2013-07-06 18:36:23 -0400
commit726530689efa492676b706495219d3c777ddc04a (patch)
tree2cd1e8277a369cdf49f4c479e6f5c7eaee86a8d5 /guides/source/action_view_overview.md
parentc6009b2d0d651fe995d29b912c8a1ae9ec98aa6e (diff)
downloadrails-726530689efa492676b706495219d3c777ddc04a.tar.gz
rails-726530689efa492676b706495219d3c777ddc04a.tar.bz2
rails-726530689efa492676b706495219d3c777ddc04a.zip
Cleaned up wording and tags.
Replaced <br /> with <br> for consistency; Added note about singular/plural distinction (which was previously confusing to a Rails noob); Rephrased explanation of how form is routed to controller, again to reduce confusion; and added explanation to replace incorrect link. [ci skip]
Diffstat (limited to 'guides/source/action_view_overview.md')
-rw-r--r--guides/source/action_view_overview.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index bdb51d881d..bd8e5ce4f2 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -941,9 +941,9 @@ Creates a form and a scope around a specific model object that is used as a base
```html+erb
<%= form_for @post do |f| %>
<%= f.label :title, 'Title' %>:
- <%= f.text_field :title %><br />
+ <%= f.text_field :title %><br>
<%= f.label :body, 'Body' %>:
- <%= f.text_area :body %><br />
+ <%= f.text_area :body %><br>
<% end %>
```