Sha256: cac75f7647f9444ad430179f5b69552c49f6d484a9209650b4933e5c2c902df1
Contents?: true
Size: 531 Bytes
Versions: 25
Compression:
Stored size: 531 Bytes
Contents
= dropdown(variation: :dropleft) do - if EffectiveResources.authorized?(controller, :checkout, order) = dropdown_link_to 'Checkout', effective_orders.order_path(order), 'data-turbolinks': false - 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
25 entries across 25 versions & 1 rubygems