#annonce_menu
  .container
    .row
      .col-md-3{:class => (" ok " if @annonce).to_s+("active" if params[:step] == "login").to_s}
        .menu_icon=i(:"user")
        Connexion
      .col-md-3{:class => (" ok " if @annonce and @annonce.id).to_s+("active" if params[:step] == "info").to_s}
        -if @annonce and @annonce.id
          =link_to edit_public_annonce_path(:id => @annonce.id, :create => true) do 
            .menu_icon=i(:"align-justify")
            Informations
        -else
          .menu_icon=i(:"align-justify")
          Informations
      
      .col-md-3{:class => (" ok " if @annonce and @annonce.published).to_s+("active" if params[:step] == "photos").to_s+("").to_s}
        
        -if @annonce and @annonce.id
          =link_to photos_public_annonce_path(:id => @annonce.id, :create => true) do 
            .menu_icon=i(:"image")
            Photos
        -else
          .menu_icon=i(:"image")
          Photos
        
        
      
      .col-md-3{:class => (" ok " if @annonce and @annonce.published).to_s+("active" if params[:step] == "publish").to_s+("").to_s}
        .menu_icon=i(:"paper-plane-o ")
        =qit("shared-annonce-publier", "Publier")