#label_search
  =form_tag public_label_produits_path, {:method => :get} do
    =hidden_field_tag :search, true
  
  
  
    =text_field_tag :q, params[:q], :placeholder => "nom d'un produit ou d'une marque", :id => "q_input"
    =hidden_field_tag :force, params[:force]
  
    .specific_search
      =select_tag :label_famille_id, options_from_collection_for_select(LabelFamille.all, :id, :name, params[:label_famille_id]),:prompt => "Famille de produit",:include_blank => false
  
      =select_tag :label_category_id, options_from_collection_for_select(LabelCategory.all, :id, :name, params[:label_category_id]),:prompt => "Catégorie produit",:include_blank => false
  
      =select_tag :label_marque_id, options_from_collection_for_select(LabelMarque.all, :id, :name, params[:label_marque_id]),:prompt => "Marque",:include_blank => false
  
      =select_tag :label_entreprise_id, options_from_collection_for_select(LabelEntreprise.all, :id, :name, params[:label_entreprise_id]),:prompt => "Entreprise",:include_blank => false
  
      =select_tag :label_distributeur_id, options_from_collection_for_select(LabelDistributeur.all, :id, :name, params[:label_distributeur_id]),:prompt => "Distributeur",:include_blank => false
  
      =select_tag :couleur_logo, options_from_collection_for_select(LabelProduit.group(:couleur_logo).all, :couleur_logo, :couleur_logo, params[:couleur_logo]),:prompt => "Couleur du logo",:include_blank => false
  
  
  
    =submit_tag "rechercher", :class => "btn btn-primary", :id => "search_button"