Sha256: 39d45bc0e2914d5a4914be19e21132febc8974a80cd628a1f4987d210d1c4005
Contents?: true
Size: 1014 Bytes
Versions: 42
Compression:
Stored size: 1014 Bytes
Contents
= link_to "Add New Tag", new_admin_tag_path, class: 'btn btn-inverse pull-right action-btn' = render '/virgo/common/search_form', url: admin_tags_path .clear .table-panel %table.table.admin-posts-table %thead %tr %th= sortable_column "Name" %th= sortable_column "Added at", column: :created_at %th Added by %th= sortable_column "Count", column: "post_count" %tbody - if @tags.empty? %tr.empty %td{colspan: "4"} No tags - @tags.each do |tag| %tr %td= link_to truncate(tag.name, length: 40), edit_admin_tag_path(tag) %td= tag.created_at.to_s(:slashes_with_time) %td - if tag.created_by = link_to tag.created_by.try(:byline), edit_admin_user_path(tag.created_by) %td - if tag.post_count == 0 %span 0 - else = link_to tag.post_count, admin_posts_path(filters: {tag_ids: [tag.id]}) = paginate @tags
Version data entries
42 entries across 42 versions & 1 rubygems