Sha256: 7bfe6118c7cf4dfb3de3dc7cdbc7397930f198ca26e5db2585e927f017a7b39c

Contents?: true

Size: 443 Bytes

Versions: 7

Compression:

Stored size: 443 Bytes

Contents

.admin_comment-item id=dom_id(comment)
  .admin_comment-meta
    - if comment.author_id
      = link_to comment.author_name, admin_user_path(id: comment.author_id), target: '_blank'
    span.muted= l(comment.created_at, format: :long)
    - if can? :destroy, comment
      = link_to t('admin.delete'), admin_admin_comment_path(comment), remote: true, method: :delete, class: 'btn btn-mini btn-danger'
  .admin_comment-body
    p= comment.body

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.3.6 app/views/admin/admin_comments/_comment.html.slim
ab_admin-0.3.5 app/views/admin/admin_comments/_comment.html.slim
ab_admin-0.3.4 app/views/admin/admin_comments/_comment.html.slim
ab_admin-0.3.3 app/views/admin/admin_comments/_comment.html.slim
ab_admin-0.3.2 app/views/admin/admin_comments/_comment.html.slim
ab_admin-0.3.1 app/views/admin/admin_comments/_comment.html.slim
ab_admin-0.3.0 app/views/admin/admin_comments/_comment.html.slim