
-reseaux = reseaux_form
%li
  
  
  =check_box_tag "customer[reseaux_ids][]", reseaux.id, (true if form.object.reseaux_ids.include?(reseaux.id))
  %label 
    =reseaux.name
  -if reseaux.children.count > 0
    %ul
      =render :partial => "admin/reseauxes/reseaux_form", :collection => reseaux.children, :locals => {:form => form} 
  
  
  
  
  