Sha256: 283fe9b87f56879b62acd9fcec17bc09b03c97f2a729cbb07384d1a333484d9a

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 Bytes

Contents

%div{ id: dom_id(post), class: "row #{dom_class(post)} bottom-margin-5" }
  .col-lg-12
    %h2.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)

    .post-body.truncate-lines-3
      = post.body(format: :html).html_safe

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_blog-1.3.1 app/views/ecm/blog/posts/_post_in_index.haml
ecm_blog-1.3.0 app/views/ecm/blog/posts/_post_in_index.haml