- if @order.purchased? %h2 Receipt - else %h2 Order %hr %a.btn.btn-default.pull-right{'data-role' => 'print-button', :class => 'print-button', :onClick => "window.print(); false;"} Print = render @order %hr = link_to 'Back', :back, :class => 'btn btn-primary' - if @order.purchased? = '-' = link_to 'Resend Receipt', effective_orders.resend_buyer_receipt_path(@order), 'data-confirm' => 'This action will email you a copy of the original email receipt. Send receipt now?', :class => 'btn btn-default'