Sha256: 9c9c3868182babe27481072a21a4c9232d9336662c665316deecbc3ebb4548a3

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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