= minimize_overlay('categories')
  
%h4= t('home.index.filter.category')
%ul#amenities
  - Amenities.keys.sort_by(&:to_s).each do |amenity_group|
    %li{:class => amenity_group}
      = check_box_tag("category-#{amenity_group}", 1, true)
      = label_tag "category-#{amenity_group}", t("poi.category.#{amenity_group}")

= minimize_overlay('categories')
  
%h4= t('home.index.filter.category')
%ul#amenities
  - Category.all.sort_by(&:localized_name).each do |category|
    %li{:class => category.identifier}
      = check_box_tag("category-#{category.identifier}", 1, true)
      = label_tag "category-#{category.identifier}", category.localized_name

Use categories from database for category filter on map view.
Use categories from database for category filter on map view.
