Sha256: ddc1747c4646387921aaa0f99fb8ffadd1521e1333bb54c403db55567e50c0e7

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

- unless defined?(level)
  - level = 0

- unless categories.nil? or categories.blank?
  - categories.each do |category|
    %li{ :rel => 'folder', :id => "category_#{category.id}" }
      = link_to(category.name + content_tag(:span, category.attributes.count), '#')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/attributes/_categories.html.haml
forgeos_commerce-1.9.0 app/views/admin/attributes/_categories.html.haml