Sha256: a3515b94fb980576de02c32bfecd33788a301daa1f7fe17f8448e2e840af29b1
Contents?: true
Size: 505 Bytes
Versions: 17
Compression:
Stored size: 505 Bytes
Contents
= dropdown(variation: :dropleft) do - if EffectiveResources.authorized?(controller, :checkout, order) = dropdown_link_to 'Checkout', effective_orders.order_path(order) - else = dropdown_link_to 'View', effective_orders.order_path(order) - if EffectiveResources.authorized?(controller, :send_buyer_receipt, order) = dropdown_link_to 'E-mail Receipt', effective_orders.send_buyer_receipt_order_path(order), data: { method: :post, confirm: "Send receipt to #{order.emails.first}?" }
Version data entries
17 entries across 17 versions & 1 rubygems