%table{class: 'cart table table-striped'} %thead %tr %th Name %th Price %th Quantity %th %tbody -@active_order.orders_products.each do | item | %tr %td= item.product.name %td= number_to_currency(item.quoted_unit_price, unit: raw("£")) %td= item.quantity %td= number_to_currency(item.full_line_price, unit: raw("£")) %tfoot %tr %td{colspan:3,class: 'rt'} Total %td= number_to_currency(@active_order.amount, unit: raw("£")) = link_to 'Checkout >>',checkout_order_path(@active_order),class: 'btn btn-success',id:'checkout-link' = link_to 'Cancel', @active_order,method: :delete, class: 'btn btn-warning'