Sha256: 1e1ab571c9f4372a0d14aeb758a7dd99236fbb85c4fe359bb3029de94b5e9e81

Contents?: true

Size: 402 Bytes

Versions: 29

Compression:

Stored size: 402 Bytes

Contents

%table.table
  %thead
    %tr
      %th Order
      %th Date of Purchase
      %th Description
      %th
  %tbody
    - orders.each do |order|
      %tr
        %td= order.to_param
        %td= order.purchased_at.strftime("%Y-%m-%d %H:%M")
        %td= order_summary(order)
        %td= link_to 'View', order_path.gsub(':id', order.to_param)

- unless orders.present?
  %p You have no purchased orders

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
effective_orders-1.5.2 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.5.1 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.5.0 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.4.8 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.4.7 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.4.6 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.4.5 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.4.4 app/views/effective/orders/_my_purchases.html.haml
effective_orders-1.4.3 app/views/effective/orders/_my_purchases.html.haml