Sha256: 56552aa1cdb0b6b05e6894c3dd18037541b95c0dbc5ebca3012aec0825dd4dde

Contents?: true

Size: 833 Bytes

Versions: 12

Compression:

Stored size: 833 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 Delivery Services
  
.table
  %table.data
    %thead
      %tr
        %th Name
        %th Prices
        %th Courier
        %th Active?
        %th Default?
    %tbody
      - if @delivery_services.empty?
        %tr.empty
          %td{:colspan => 5} No delivery services to display.
      - else
        - 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

12 entries across 12 versions & 1 rubygems

Version Path
shoppe-0.0.19 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.18 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.17 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.16 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.15 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.14 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.13 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.12 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.11 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.10 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.9 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.8 app/views/shoppe/delivery_services/index.html.haml