Sha256: dc6a1070cd3c2f833da768161ed683002e46f90854e04591b0c0ccd18153f751

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

- @page_title = "Delivery Services"

= content_for :header do
  %p.buttons= link_to "New delivery service", :new_delivery_service, :class => 'button green'
  %h2 Delivery Services
  
.table
  %table.data
    %thead
      %tr
        %th Name
        %th Prices
        %th Courier
        %th Active?
        %th Default?
    %tbody
      - for delivery_service in @delivery_services
        %tr
          %td= link_to delivery_service.name, [:edit, delivery_service]
          %td= link_to "Set Prices", [delivery_service, :delivery_service_prices]
          %td= delivery_service.courier
          %td= boolean_tag :active
          %td= boolean_tag :default
          

Version data entries

3 entries across 3 versions & 1 rubygems

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