diff options
Diffstat (limited to 'railties/lib/generators/erb/scaffold/templates/_form.html.erb')
-rw-r--r-- | railties/lib/generators/erb/scaffold/templates/_form.html.erb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/railties/lib/generators/erb/scaffold/templates/_form.html.erb b/railties/lib/generators/erb/scaffold/templates/_form.html.erb deleted file mode 100644 index 01ec58c615..0000000000 --- a/railties/lib/generators/erb/scaffold/templates/_form.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -<%%= form_for(@<%= singular_name %>) do |f| %> - <%%= f.error_messages %> - -<% for attribute in attributes -%> - <div class="field"> - <%%= f.label :<%= attribute.name %> %><br /> - <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %> - </div> -<% end -%> - <div class="actions"> - <%%= f.submit %> - </div> -<%% end %> |