Sha256: 70de72ffc26f244a7466e06d712ac14390a298f19e6306bf26f50ecc2eb2972f

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

- link_class = 'small-icons block'
- link_class += ' active' if page.page_cols.map(&:blocks).flatten.uniq.include?(block)
%li{ :rel => 'file', :id => "block_#{block.id}" }
  = link_to block.title.to_s + '<span class="small-icons"></span>', '#', :class => link_class, :title => block.class.model_name.human.capitalize

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forgeos_cms-1.9.4 app/views/admin/categories/_block.html.haml
forgeos_cms-1.9.2 app/views/admin/categories/_block.html.haml
forgeos_cms-1.9.1 app/views/admin/categories/_block.html.haml