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.71 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.70 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.69 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.68 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.67 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.66 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.65 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.64 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.63 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.62 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.61 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.60 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.59 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.58 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.57 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.56 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.55 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.54 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.53 app/views/ish_manager/tags/_item.haml
ish_manager-0.1.8.52 app/views/ish_manager/tags/_item.haml