app/views/people/index.html.haml in artfully_ose-1.2.0 vs app/views/people/index.html.haml in artfully_ose-1.3.0.pre1
- old
+ new
@@ -11,26 +11,27 @@
%ul
%li
= text_field_tag :search, params[:search], :placeholder => "Email, name, or tag...", :class => "input-medium search-query"
.control
= submit_tag "Search", :class => 'btn'
- = link_to "Advanced Search", new_search_path
+ = link_to "Advanced Search", new_advanced_search_path
.span8.super-search-results
- - if @people.empty?
+ - if @results.empty?
- -else
- - if @show_advanced_search_message
+ -else
+ - if @show_advanced_search_message
.well
.row-fluid
.span2
.center
=icon_tag '06-magnify@2x'
.span10
%strong
- Looks like you've got a lot of results here so we only returned the top 40.
+ Looks like you've got a lot of results here so we only returned the top 40.
%br
- Try
- =link_to "Advanced Search", new_search_path
+ Try
+ =link_to "Advanced Search", new_advanced_search_path
for more refined searching and results.
- = render :partial => 'list', :locals => { :people => @people } unless @people.empty?
- = will_paginate @people, :inner_window => 2, :outer_window => 0
\ No newline at end of file
+
+ = render :partial => 'list', :locals => { :results => @results }
+ = will_paginate @results, :inner_window => 2, :outer_window => 0