Sha256: 446173c0771e5fd3948b251a49412af97cf45044ff42d7d102807738bb78eb68

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

.manager-tags-show
  .row
    .large-12.columns
      %h3 Tag: #{@tag.name}
      %ul
        %li
          = link_to '[+]', new_manager_tag_feature_path( @tag )
          = link_to 'Features', manager_tag_features_path( @tag )
          (#{@tag.features.length})
        %li
          = link_to '[+]', new_manager_tag_newsitem_path( @tag )
          = link_to 'Newsitems', manager_tag_newsitems_path( @tag )
          (#{@tag.newsitems.length})
          
  .row
    .large-6.columns
      %h4 Galleries (#{@tag.galleries.unscoped.where( :is_trash => false ).length})
      %ul
        - @tag.galleries.unscoped.where( :is_trash => false ).each do |gallery|
          %li
            = link_to '[~]', edit_manager_gallery_path( gallery )
            = link_to gallery.name, manager_gallery_path( gallery )
            = render 'manager/galleries/meta', :gallery => gallery
            
    .large-6.columns
      %h4 Reports (#{@tag.reports.unscoped.length})
      %ul
        - @tag.reports.unscoped.each do |report|
          %li
            = link_to '[~]', edit_manager_report_path( report )
            = link_to report.name, manager_report_path( report )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_lib_manager-0.0.1 app/views/ish_lib_manager/tags/show.haml