
  
%nav#my_account_menu.navbar.navbar-inverse
  .container-fluid
    
    .navbar-header{:class => ("active" if params[:controller] == "public/my_account" and params[:action] == "index")}
      = link_to i(:user)+raw("&nbsp; Mon compte"), public_my_account_path, :class => "navbar-brand"
    %ul.nav.navbar-nav
    
    
      
      %li{:class => ("active" if params[:controller] == "public/my_account" and params[:action] == "edit_infos")}= link_to " Profil", public_edit_infos_path
      %li{:class => ("active" if params[:controller] == "public/my_account" and params[:action] == "filleuls")}= link_to "Affiliés", public_filleuls_path
 
      %li{:class => ("active" if (params[:controller] == "public/commissions" and params[:action] == "index") or params[:controller] == "public/account_ribs")}= link_to "Commissions / virements", public_commissions_path
 