Add filters partial

This commit is contained in:
summerscope
2014-07-09 17:24:10 +10:00
parent 11ec596133
commit 864df41052

View File

@@ -14,10 +14,12 @@
/ %i.ofn-i_020-search
%input{type: :text,
"ng-model" => "query",
placeholder: "Search Hub or by Suburb / State",
placeholder: "Search by Hub or Suburb name",
"ng-debounce" => "150",
"ofn-disable-enter" => true}
= render partial: "home/filters"
.row{bindonce: true}
.small-12.columns
.active_table
@@ -30,6 +32,9 @@
= render partial: 'home/skinny'
= render partial: 'home/fat'
.row{"ng-show" => "filteredHubs.length == 0"}
.columns.small-12.text-center
No results
.row{"ng-show" => "filteredHubs.length == 0"}
.columns.small-12
%p.no-results
Sorry, no results found for
%strong {{query}}.
Try another search?