#categories.padding

  -i = 0
  .col-md-3
    -AnnonceCat.where(:parent_id => nil).order(:created_at).all.each do |annonce_cat|
      -i = i + 1
      .annonce_cat
        %h3= annonce_cat.name
        %ul
          -annonce_cat.children.order(:name).each do |ac|
            %li
              =link_to search_public_annonces_path(:annonce_cat_id => ac.id) do
                =ac.name
                ="(#{ac.annonces.valid_to_show.count})"
      -if i == 3 or i == 6 or i == 9
        </div><div class="col-md-3">
  .clear