Skip to content

Commit

Permalink
performed awagener's change to the new generator template.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Aug 19, 2010
2 parents 8381b49 + ac67eb3 commit 7311d35
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -30,8 +30,12 @@
<%% if searching? %>
<h2><%%= t('admin.search_results_for', :query => params[:search]) %></h2>
<%% if @<%= plural_name %>.any? %>
<%%= render :partial => "<%= singular_name %>",
:collection => @<%= plural_name %> %>
<%%= will_paginate @<%= plural_name %>, :previous_label => '&laquo;', :next_label => '&raquo;' %>
<ul>
<%%= render :partial => "<%= singular_name %>",
:collection => @<%= plural_name %> %>
</ul>
<%%= will_paginate @<%= plural_name %>, :previous_label => '&laquo;', :next_label => '&raquo;' %>
<%% else %>
<p><%%= t('admin.search_no_results') %></p>
<%% end %>
Expand Down

0 comments on commit 7311d35

Please sign in to comment.