Sha256: 8ff006793c2c1a4db3146e74dfb7530e75e920ea47de922c30877fe0bab60d2c

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

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

.row
  .col-md-12
    %h1.page-header
      = t('tienda.product_category.product_categories')
      -# %small Lorem ipsum dolor
/ /. ROW
.row
  .col-md-12
    %p.pull-right
      = link_to t('tienda.product_category.new_category'), :new_product_category, class: 'btn btn-primary'

.panel.panel-default
  .panel-heading
    Listing product categories
  .panel-body
    %table.table.table-hover
      %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

1 entries across 1 versions & 1 rubygems

Version Path
tienda-2.0.1 app/views/tienda/product_categories/index.html.haml