Sha256: b320cc50b20f509eced0395c031956128ea91c28dc871657f2c1aba993e25e15
Contents?: true
Size: 552 Bytes
Versions: 6
Compression:
Stored size: 552 Bytes
Contents
- content_for :title do = t "the_comments.management" - content_for :comments_sidebar do = render partial: 'the_comments/haml/sidebar' - content_for :comments_main do = paginate @comments .comments - @comments.each do |comment| - klass = { published: :primary, draft: :warning, deleted: :danger }[comment.state.to_sym] .panel{ class: "panel-#{klass}" } .panel-heading= comment.title .panel-body = render partial: 'the_comments/haml/comment_body', locals: { comment: comment } = paginate @comments
Version data entries
6 entries across 6 versions & 1 rubygems