Fix broken renders
This commit is contained in:
parent
558a3af11b
commit
508461dbc7
|
@ -1,3 +1,3 @@
|
||||||
<a href="<%= main_app.paypal_checkout_orders_checkout_url @checkout.order, :integration_id => integration %>" style="text-align: center;">
|
<a href="<%= paypal_checkout_orders_checkout_url @checkout.order, :integration_id => integration %>" style="text-align: center;">
|
||||||
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
|
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
|
|
||||||
<%= render :partial => 'shared/order_details', :locals => {:order => @order} -%>
|
<%= render :partial => 'shared/order_details', :locals => {:order => @order} -%>
|
||||||
<div class="form-buttons">
|
<div class="form-buttons">
|
||||||
<%= button_to t('place_order'), main_app.paypal_finish_order_checkout_url(@order, {:token => params[:token] , :PayerID => params[:PayerID], :payment_method_id =>
|
<%= button_to t('place_order'), paypal_finish_order_checkout_url(@order, {:token => params[:token] , :PayerID => params[:PayerID], :payment_method_id =>
|
||||||
params[:payment_method_id] } ), :class => "button primary" %>
|
params[:payment_method_id] } ), :class => "button primary" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<a href="<%= main_app.paypal_payment_order_checkout_url @order, :payment_method_id => payment_method %>" style="text-align: center;">
|
<a href="<%= paypal_payment_order_checkout_url @order, :payment_method_id => payment_method %>" style="text-align: center;">
|
||||||
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
|
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue