Sha256: 6bbca85dd69c2d014eb1f896228b52b7329c838be0a48543a3b2d06eb54677e6

Contents?: true

Size: 597 Bytes

Versions: 3

Compression:

Stored size: 597 Bytes

Contents

- @page_title = t('shoppe.product_category.product_categories')

= content_for :header do
  %p.buttons=link_to t('shoppe.product_category.new_category'), :new_product_category, :class => 'button green'
  %h2.products= t('shoppe.product_category.product_categories')

.table
  %table.data
    %thead
      %tr
        %th= t('shoppe.product_category.name')
    %tbody
      - if @product_categories.empty?
        %tr.empty
          %td= t('shoppe.product_category.no_categories')
      - else
        - for cat in @product_categories
          %tr
            %td= link_to cat.name, [:edit, cat]

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/shoppe/product_categories/index.html.haml
shoppe-1.0.5 app/views/shoppe/product_categories/index.html.haml
shoppe-1.0.3 app/views/shoppe/product_categories/index.html.haml