Sha256: 3dae832520d6b675ed24583a4eee69be80a232f3a8c47ac04a43b4af7cf40625

Contents?: true

Size: 681 Bytes

Versions: 3

Compression:

Stored size: 681 Bytes

Contents

- @page_title = "Delivery Services"

= content_for :header do
  %p.buttons
    = link_to "New price", [:new, @delivery_service, :delivery_service_price], :class => 'button green'
    = link_to "Back to delivery services", :delivery_services, :class => 'button'
  %h2 Delivery Pricing for #{@delivery_service.name}

.table
  %table.data
    %thead
      %tr
        %th Price
        %th Weight Allowance
        %th Code
    %tbody
      - for price in @delivery_service_prices
        %tr
          %td= link_to number_to_currency(price.price), [:edit, @delivery_service, price]
          %td #{price.min_weight}kg → #{price.max_weight}kg
          %td= price.code
          

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shoppe-0.0.7 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.6 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.5 app/views/shoppe/delivery_service_prices/index.html.haml