assemblymade/coderwall

View on GitHub
app/views/protips/_protip_comments.slim

Summary

Maintainability
Test Coverage
section.comments class=('no-comments' if comments.empty? )
  - if comments.any?
    h2.comments-header
      i.fa.fa-comments
      | Comments
    ul.comment-list
      = render comments
  = render 'comments/add_comment'