
-@petitions = Petition.joins(:petition_langs).where(:petition_langs => {:lang_site_id => @lang.id, :enabled => true}).order("position ASC")

.petitions_index
  .petition_first_page
    =render :collection => @petitions[0..8], :partial => "public/petitions/petition"
  .cta{:style => "text-align:center;margin:20px 0;"}
    =link_to qit("Voir plus de pétitions >"), "#", :onclick => "$(this).closest('.petitions_index').find('.petition_more').show();$(this).closest('.cta').hide();return false;", :class => "btn"
  .petition_more{:style => "display:none;"}
    =render :collection => @petitions[9..@petitions.size], :partial => "public/petitions/petition"