--- share/web/templates/index.html 2007/02/18 16:15:25 23
+++ share/web/templates/index.html 2007/02/18 20:09:08 24
@@ -34,14 +34,7 @@
<% Jifty->web->form->end %>
-% my $results = Jifty->web->response->result('search');
-% warn "result = ",dump( $results );
-% if ( $results and $results->content('search') ) {
-% my $coll = $results->content('search');
-% while ( my $i = $coll->next ) {
-<& /fragments/result, item => $i &>
-% }
-% }
+<& /fragments/results, result => 'result' &>
Results: <% $region->render %>