app/views/people/index.html.haml in artfully_ose-1.0.0.rc4 vs app/views/people/index.html.haml in artfully_ose-1.1.0.rc1
- old
+ new
@@ -1,18 +1,24 @@
- in_section :people
+- content_for :title do
+ People
- content_for :header do
%h1 People
.row
.span4
= form_tag people_path, {:method => :get, :remote => true, :class => 'super-search form-search'} do
= hidden_field_tag :commit, "Search"
%ul
%li
= text_field_tag :search, "", :placeholder => "Email, name, or tag...", :class => "input-medium search-query"
- = submit_tag "Search", :class => 'btn'
+ .control
+ = submit_tag "Search", :class => 'btn'
+ = link_to "Advanced Search", new_search_path
.span8.super-search-results
- if @people.empty?
-else
= render :partial => 'list', :locals => { :people => @people } unless @people.empty?
= will_paginate @people, :inner_window => 2, :outer_window => 0
+
+