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.111 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.110 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.109 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.108 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.107 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.106 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.105 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.104 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.103 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.102 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.101 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.100 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.99 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.98 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.97 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.96 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.95 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.94 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.93 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.92 app/views/ish_manager/tags/_item.haml