app/views/admin/orders/checkout.html.haml in effective_orders-6.2.1 vs app/views/admin/orders/checkout.html.haml in effective_orders-6.3.0

- old
+ new

@@ -1,4 +1,9 @@ -= render 'layout' do - %h1.effective-admin-heading= @page_title +- resource = (@_effective_resource || Effective::Resource.new(controller_path)) +- @resource = instance_variable_get('@' + resource.name) if resource.name - = render_checkout(@order, namespace: :admin, purchased_url: effective_orders.admin_order_path(@order), declined_url: effective_orders.admin_order_path(@order)) +- if @resource + .resource-buttons + = render_resource_buttons(@resource, checkout: false) + + = card do + = render_checkout(@order, namespace: :admin, purchased_url: effective_orders.admin_order_path(@order), declined_url: effective_orders.admin_order_path(@order))