Browse Source

A small fix

development
Godwin 11 years ago
parent
commit
ca301f9876
  1. 2
      app/views/organizations/index.html.haml

2
app/views/organizations/index.html.haml

@ -9,7 +9,7 @@
- @organizations.sort_by{|k,v|k}.each do |country,territories| - @organizations.sort_by{|k,v|k}.each do |country,territories|
%h2=country %h2=country
- territories.sort_by{|k,v|k}.each do |territory,cities| - territories.sort_by{|k,v|k}.each do |territory,cities|
- if territory != 0 - if territory.is_a? String
%h3=territory %h3=territory
- cities.sort_by{|k,v|k}.each do |city,organizations| - cities.sort_by{|k,v|k}.each do |city,organizations|
%ul.small-block-grid-1.medium-block-grid-2.large-block-grid-3.org-list.preview-list %ul.small-block-grid-1.medium-block-grid-2.large-block-grid-3.org-list.preview-list

Loading…
Cancel
Save