%table.steps
  %tr
    %td
      =link_to (@donator_transaction.id? ? edit_public_donator_transaction_path(:id => @donator_transaction.id) : new_public_donator_transaction_path()) do
        .step
          1
        montant
    %td
      -if params[:action] == "particulars" || params[:action] == "particulars_save" || params[:action] == "select_payment" || params[:action] == "select_payment_save"
        =link_to particulars_public_donator_transaction_path(:id => @donator_transaction.id) do
          .step
            2
          coordonnées
      -else
        .step
          2
        coordonnées
        
    %td
      -if params[:action] == "select_payment" || params[:action] == "select_payment_save"
        =link_to select_payment_public_donator_transaction_path(:id => @donator_transaction.id) do
          .step
            3
          Paiement
      -else
        .step
          3
        Paiement
        
