Sha256: 124b88eabb37f59ed584f50a914808fcbf4782a57480ff74440cf41f8afe0c7b

Contents?: true

Size: 597 Bytes

Versions: 4

Compression:

Stored size: 597 Bytes

Contents

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tienda-1.1.2 app/views/tienda/product_categories/index.html.haml
tienda-1.1.1 app/views/tienda/product_categories/index.html.haml
tienda-1.1.0 app/views/tienda/product_categories/index.html.haml
tienda-1.0.0 app/views/tienda/product_categories/index.html.haml