Sha256: 906241e787ab7e4caa9d0070b443932f27c9b38eb9c42d36dd66516bfba081e8

Contents?: true

Size: 867 Bytes

Versions: 5

Compression:

Stored size: 867 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 delivery_service.active?
            %td= boolean_tag delivery_service.default?
          

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/delivery_services/index.html.haml
shoppe-1.0.1 app/views/shoppe/delivery_services/index.html.haml
shoppe-1.0.0 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.21 app/views/shoppe/delivery_services/index.html.haml
shoppe-0.0.20 app/views/shoppe/delivery_services/index.html.haml