Sha256: b89de45496a9a509db897a1f14447957c4ce2664d83e1046d37d4752bf06b0ea

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

.page-header
  %h1= Market::Category.model_name.human

= actions do
  = create_link(new_admin_market_category_path)

= table_for(Market::Category).content(@categories) do |t|
  - t.column :name
  - t.column :category, format: ->(category) { category.try(:name) }
  - t.column :position
  - t.edit
  - t.delete

= admin_paginate @categories

= actions do
  = create_link(new_admin_market_category_path)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coalla-cms-0.4.2.0 lib/generators/coalla/cms/market/templates/views/categories/index.html.haml
coalla-cms-0.5.2.4 lib/generators/coalla/cms/market/templates/views/categories/index.html.haml
coalla-cms-0.4.4.3 lib/generators/coalla/cms/market/templates/views/categories/index.html.haml
coalla-cms-0.5.1.9 lib/generators/coalla/cms/market/templates/views/categories/index.html.haml
coalla-cms-0.5.1.8 lib/generators/coalla/cms/market/templates/views/categories/index.html.haml