Displaying 1 result from an estimated 1 matches for "result_divider".
2006 Apr 11
0
can''t get render... :collection to work ??
...to work. Here''s my view:
----------------------------------------------------------------------
<% @search.results.each do |r| %>
<%= render :partial => ''result'', :locals => {:result => r} %>
<%= render :partial => ''result_divider'' %>
<% end %>
<%= render :partial => ''result'', :collection => @search.results,
:spacer_template => ''result_divider'' %>
----------------------------------------------------------------------
_result.html looks like this:
-----...