#modal.modal.modal_styled.in{"aria-labelledby" => "modalLabel", :role => "dialog", :tabindex => "-1"}
  .modal-dialog{:role => "document"}
    .modal-content
      #user_form
        = simple_form_for :user, remote: true, html: { novalidate: true, autocomplete: 'off' }, url: users_path do |f|
          .modal-header
            .modal-header_top.clearfix
              .modal-header_top_bg
              .modal-header_steps_wrap
                %span#first_step.modal-header_step.active Step 1
                %span#second_step.modal-header_step Step 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 The funding
                .col-sm-7.modal-header_bot_amount
                  .form-group.amount
                    = simple_fields_for :payments_attributes do |payments_form|
                      = payments_form.input :amount, required: false, label: 'Amount in UAH', input_html: { class: 'form-group amount_field' }
                      - if @project
                        = payments_form.hidden_field :project_id, value: @project.id
                      %span.error_text#contributionBlock.help-block
                    %span.error_text
              #required_fields.help_text.absolute
                %span.asterisk *
                Required fields
          #body_user.modal-body
            .row
              .col-sm-9.modal-body_login
                %h4.modal_subtitle
                  Authorization
                .form-group
                  = f.label :email, 'E-mail'
                  .field_wrap
                    = f.input :email, label: false, required: false
                    %span.error_text#emailBlock.help-block
                .form-group
                  = f.label :name, 'Fist name and Last name'
                  .field_wrap
                    = f.input :name, label: false
                    %span.error_text#nameBlock.help-block
                  %span.error_text
              .col-sm-3.modal-body_registration
                %h4.modal_subtitle
                  Express sign in
                .soc_btn_wrap.clearfix
                  = link_to user_facebook_omniauth_authorize_path, class: 'soc_btn soc_btn_fb' do 
                    %i.icon.icon_fb
                  = link_to user_google_oauth2_omniauth_authorize_path, class: 'soc_btn soc_btn_google' do 
                    %i.icon.icon_google
            .text-center
              = f.submit "Next step", class: "btn btn_primary"
