diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb b/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb index bc1f08abef..c47e8117b4 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb @@ -5,7 +5,7 @@ <% for attribute in attributes -%> <p> - <%%= f.label :<%= attribute.name %> %><br /> + <%%= f.label :<%= attribute.name %> %><br /> <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %> </p> <% end -%> @@ -14,4 +14,4 @@ </p> <%% end %> -<%%= link_to 'Back', <%= plural_name %>_path %>
\ No newline at end of file +<%%= link_to 'Back', <%= plural_name %>_path %> |