Sha256: b07fba01b9137c126922b7ac5019cf599648c023279fc2ce3f848ade439fc022

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

= paginate @comments

%ol.comments_list
  - @comments.each do |comment|
    %li
      .item{ class: comment.state }
        .body
          .commentable
            = comment.commentable_type
            \:
            = link_to comment.commentable_title, comment.commentable_url
          .comment
            .title
              %b from:
              = comment.title.blank? ? t('the_comments.guest_name') : comment.title
            .content
              = comment.content

= paginate @comments

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_comments-1.1.0 app/views/the_comments/index.html.haml
the_comments-1.0.0 app/views/the_comments/index.html.haml
the_comments-0.9.9 app/views/the_comments/index.html.haml
the_comments-0.9.0 app/views/the_comments/index.html.haml