<% if @count == 0 -%>
Your search yielded no results.
<% else -%>
<% source_view_is = :search %>
<% parent_container_type = 'search' %>
<% if not @found_todos.empty? -%>
<%= @found_todos.size %>Todos matching query
<%= render :partial => "todos/todo", :collection => @found_todos, :locals => { :parent_container_type => 'search', :suppress_context => false, :suppress_project => false, :suppress_edit_button => true } %>
<% end -%>
<% if not @found_projects.empty? -%>
<%= @found_projects.size %>Projects matching query
<%= render :partial => "projects/project_listing", :collection => @found_projects, :locals => { :suppress_drag_handle => true, :suppress_edit_button => true } %>
<% end -%>
<% if not @found_notes.empty? -%>
<%= @found_notes.size %>Notes matching query
<% for notes in @found_notes -%>
<%= render :partial => "notes/notes_summary", :object => notes %>
<% end -%>
<% end -%>
<% end -%>