.payments_content .payments_order = render partial: "payments/transactions/order" .payments_block = form_for @payment, as: :payment, url: account_transaction_path(:id => @payment.payment_token), html: {class: "form-horizontal payment_form", id: "payment_form", ng_submit: "submit($event)" } do |f| .payment-block.payment_method h3 = I18n.t(:payment_type, scope: [:payments, :label]) .field_item label = I18n.t(:select_currency, scope: [:payments, :text]) .radio_currency .radio_buttons.radio_paper.radio_price.radio_currency buttonset="exchange_rates" input[ ng-repeat-start="rate in exchange_rates" id="currency_{{rate.currency}}" value="{{rate.currency}}" ng-value="rate" name="payment[currency]" type="radio" ng-model="payment.exchange_rate"] label for="currency_{{rate.currency}}" ng-repeat-end="" | {{rate.currency}} .order_select_method .field_item label = I18n.t(:select_method, scope: [:payments, :text]) .radio_method .radio_buttons.radio_money.radio_payment buttonset="payment_types" input[ ng-repeat-start="item in payment_types" id="payment_type_{{item.id}}" value="{{item.id}}" ng-value="item" name="payment[payment_type]" type="radio" ng-disabled="item.disabled" ng-model="payment.payment_type"] label for="payment_type_{{item.id}}" class="{{item.code}}" ng-repeat-end="" / | {{item.title}} .total_to_pay.order_total ng-class="payment.submit_class" .total_to_price.total_price span = I18n.t(:waiting_payment_amount, scope: [:payments, :order_details]) p | {{formatValue(payment.total)}} = f.submit "{{payment.submit_text}}", class: "payment_button button medium yellow", ng_click: "submit($event)", ng_class: "{pp_express: paypalExpress}"