Sha256: 72f6a46b068690b029b8c5513b07445cda0255830b330c03b2be96de6d915761

Contents?: true

Size: 516 Bytes

Versions: 7

Compression:

Stored size: 516 Bytes

Contents

- commentable.comments.map do |comment|
  .comment.well id="comment#{comment.id}"
    - if comment.user.try(:avatar).present?
      = image_tag comment.user.avatar.url, class: "avatar"
    - else
      = image_tag "dorsale/avatar.png", class: "avatar"
    
    p.infos
      - if comment.user.present?
        strong
          = comment.user.name
        
        br
      
      small.text-muted.right
        = "écrit le "
        = comment.created_at
    
    p.text = text2html(comment.text)
    
    .clearfix

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dorsale-1.1.4 app/views/dorsale/comments/_comments.html.slim
dorsale-1.1.3 app/views/dorsale/comments/_comments.html.slim
dorsale-1.1.2 app/views/dorsale/comments/_comments.html.slim
dorsale-1.1.1 app/views/dorsale/comments/_comments.html.slim
dorsale-1.1.0 app/views/dorsale/comments/_comments.html.slim
dorsale-1.0.4 app/views/dorsale/comments/_comments.html.slim
dorsale-1.0.3 app/views/dorsale/comments/_comments.html.slim