From 4f2a950ce2f29d4c6ce777d5a949440b6c2a440f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 16 May 2007 01:23:34 +0000 Subject: Make way for the new and improved scaffold git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../scaffold/templates/view_list.html.erb | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 railties/lib/rails_generator/generators/components/scaffold/templates/view_list.html.erb (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates/view_list.html.erb') diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/view_list.html.erb b/railties/lib/rails_generator/generators/components/scaffold/templates/view_list.html.erb deleted file mode 100644 index 3e2a414485..0000000000 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/view_list.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -

Listing <%= plural_name %>

- - - - <%% for column in <%= model_name %>.content_columns %> - - <%% end %> - - -<%% for <%= singular_name %> in @<%= plural_name %> %> - - <%% for column in <%= model_name %>.content_columns %> - - <%% end %> - - - - -<%% end %> -
<%%= column.human_name %>
<%%=h <%= singular_name %>.send(column.name) %><%%= link_to 'Show', :action => 'show<%= suffix %>', :id => <%= singular_name %> %><%%= link_to 'Edit', :action => 'edit<%= suffix %>', :id => <%= singular_name %> %><%%= link_to 'Destroy', { :action => 'destroy<%= suffix %>', :id => <%= singular_name %> }, :confirm => 'Are you sure?', :method => :post %>
- -<%%= link_to 'Previous page', { :page => @<%= singular_name %>_pages.current.previous } if @<%= singular_name %>_pages.current.previous %> -<%%= link_to 'Next page', { :page => @<%= singular_name %>_pages.current.next } if @<%= singular_name %>_pages.current.next %> - -
- -<%%= link_to 'New <%= singular_name %>', :action => 'new<%= suffix %>' %> -- cgit v1.2.3