diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-10 16:04:12 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-10 16:04:12 -0800 |
commit | 3d5d0286b3d60bf7783ac000df9194d28ed1a64c (patch) | |
tree | 02938aa8d6a646766293ebb8de364e8a125fe67c | |
parent | c5ff181480c2add95401799a85b8f5bb1356aef1 (diff) | |
download | rails-3d5d0286b3d60bf7783ac000df9194d28ed1a64c.tar.gz rails-3d5d0286b3d60bf7783ac000df9194d28ed1a64c.tar.bz2 rails-3d5d0286b3d60bf7783ac000df9194d28ed1a64c.zip |
Update scaffold to use <%= form_for
-rw-r--r-- | railties/lib/generators/erb/scaffold/templates/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/erb/scaffold/templates/_form.html.erb b/railties/lib/generators/erb/scaffold/templates/_form.html.erb index 9c19a09616..01ec58c615 100644 --- a/railties/lib/generators/erb/scaffold/templates/_form.html.erb +++ b/railties/lib/generators/erb/scaffold/templates/_form.html.erb @@ -1,4 +1,4 @@ -<%% form_for(@<%= singular_name %>) do |f| %> +<%%= form_for(@<%= singular_name %>) do |f| %> <%%= f.error_messages %> <% for attribute in attributes -%> |