#modal_payment.fade.modal.modal_styled{"aria-labelledby" => "modalLabel", role: "dialog", tabindex: "-1"}
  .modal-dialog{role: "document"}
    .modal-content
      .modal-header
        .modal-header_top.clearfix
          .modal-header_top_bg
          .modal-header_steps_wrap
            %span.modal-header_step крок 1
            %span.modal-header_step.active крок 2
          %button.round_link.close{"aria-label" => "Close", "data-dismiss" => "modal", type: "button"}
            %i.icon.icon_close
        .modal-header_bot
          .row
            .col-sm-5
              %h3#modalLabel.modal-title Фондування
            .col-sm-7.modal-header_bot_amount
              .form-group
                %label{ for: "id_1"}
                  Сума внеску в
                  %span.currency UAH
                %span.amount_value #{payment.amount}
      .modal-body
        .help_text Оберіть платіжну систему зручну для вас
        .radio
          .radio_item
            %input#liqpay{ checked: "checked", name: "payment_system", type: "radio", value: "liqpay" }
            %label{ for: "liqpay" }
              = image_tag( 'liqpay.png' )
          .radio_item
            %input#webmoney{ name: "payment_system", type: "radio", value: "webmoney" }
            %label{ for: "webmoney" }
              = image_tag( 'w4p_white.png' )
        .text-center.modal_btns
          = raw Liqpay.new.cnb_form( { action: "pay", amount: payment.amount, currency: "UAH", description: "Dobrovilna pozhertva", order_id: "#{payment.project_id}_#{SecureRandom.hex}", result_url: "http://localhost:3000/payments/liqpay_payment", server_url: "http://localhost:3000/payments/liqpay_payment", version: "3" } )
          .nav_link
            %a.link{ "data-dismiss" => "modal", "data-target" => "#modal", "data-toggle" => "modal", type: "button" } Назад
