Sha256: 7f73eb6179b51c38e8fee3312b9b33f418cfb64b031a00a475ad4c6c58e28f03
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
= render order .effective-order.effective-order-purchase-actions - if EffectiveOrders.moneris_enabled = render :partial => '/effective/orders/moneris/form', :locals => {:order => order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url} - if EffectiveOrders.paypal_enabled = render :partial => '/effective/orders/paypal/form', :locals => {:order => order} - if EffectiveOrders.stripe_enabled = render :partial => '/effective/orders/stripe/form', :locals => {:order => order} - if EffectiveOrders.allow_pretend_purchase_in_production = link_to 'Process Order', effective_orders.pretend_purchase_path(order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url), :class => 'btn btn-primary' %p= EffectiveOrders.allow_pretend_purchase_in_production_message - elsif Rails.env.development? = link_to 'Process Order (development only)', effective_orders.pretend_purchase_path(order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url), :class => 'btn btn-primary'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_orders-1.3.1 | app/views/effective/orders/_checkout_step_2.html.haml |
effective_orders-1.3.0 | app/views/effective/orders/_checkout_step_2.html.haml |