Sha256: 79bcc13f020fa69037be55557f577524acb45b2ec7681c4716c816cc6754af28

Contents?: true

Size: 699 Bytes

Versions: 8

Compression:

Stored size: 699 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_services 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

8 entries across 8 versions & 1 rubygems

Version Path
shoppe-0.0.15 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.14 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.13 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.12 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.11 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.10 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.9 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.8 app/views/shoppe/delivery_service_prices/index.html.haml