-@title = "Ma Moto sur Circuit - Circuits et pistes moto"
-@description = "Découvrez les circuits moto en France et en Europe. Près de 100 pistes référencées !"

.recherche_filtre
  -params[:search] = params[:search] || []
  -params[:search][:m_event_type_title] = params[:search][:m_event_type_title] || []

  .centre_filtre
    %h4 Trouvez votre circuit
    
    =form_tag "", :method => "get",  :onsubmit => "" do
      
      
      .no-mobile.right{:style => ""}
        =submit_tag "Rechercher", :class => "submit"
      %p
        .select.inline_large_input=select_tag "search[circuit_region_id]", option_groups_from_collection_for_select(CircuitRegionCat.all, :circuit_regions, :name, :id, :name, params[:search][:circuit_region_id]), :class => "", :include_blank => "Région"
        
        
      
        =text_field_tag "search[name]", params[:search][:name],:class => "form-control inline_input", :placeholder => "Nom"
        
        
        .clear
      
      .mobile-block
        =submit_tag "Rechercher", :class => "submit"
      

.center_content
  
  %center
    %h1 Circuits
  =render @circuits
  
  .prevnext= paginate @circuits 
  