Sha256: 5e6094e380a84964a7db84d5323e8a5c93c68bdb0dc5dd50441cb21ecc5a5cc3

Contents?: true

Size: 618 Bytes

Versions: 64

Compression:

Stored size: 618 Bytes

Contents

- if !defined? is_panel
  - is_panel = true
%li
  %div{ :class => is_panel ? 'panel' : '' }
    = link_to tag.name, tag_path(tag)
    = link_to '[+]', new_tag_path( :for_tag => tag.id )
    = link_to '[~]', edit_tag_path( tag )
    .inline= button_to '[x]', tag_path( tag ), :method => :delete, :data => { :confirm => 'Are you sure?' }
    (#{tag.reports.length}) (#{tag.galleries.length}) (#{tag.videos.length})
      
    -# .descr= tag.descr
  
    - if tag.children_tags.length > 0
      %ul.tags
        - tag.children_tags.map do |tt|
          = render 'ish_manager/tags/item', :tag => tt, :is_panel => false

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
ish_manager-0.1.8.51 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.50 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.49 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.47 app/views/ish_manager/tags/_item.haml