Sha256: 37195edfa15784eb8308240cd7cd4e3ae670b17ad3d4e04620e90337328a6121

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

%div{ id: dom_id(post), class: dom_class(post) }
  %h1.post-title
    = link_to(post.title, ecm_blog.url_for(post))
  %small
    %span.post-creation-information.text-muted
      = "#{l(post.created_at)} | #{post.creator.try(:human)}"
    |
    %span.comments-information
      = link_to(t('ecm.comments.commentable.comments_information', comments_count: post.comments.count), ecm_blog.post_url(post, anchor: 'comments'))
    |
    %span.post-tags
      = tag_labels_for(post)

  %p.post-body= post.body(format: :html).html_safe

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_blog-1.2.1 app/views/ecm/blog/posts/_post.haml
ecm_blog-1.2.0 app/views/ecm/blog/posts/_post.haml