Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: be30afcdf5
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.561 kb
article class="comment" data-author="#{comment.user}"
header
h1= comment_title comment
div class="avatar"
= link_to comment.user do
= avatar_image comment.user
div class="controls"
- if can?(:edit, comment) && comment.persisted?
ul
li= link_to 'Edit', edit_post_comment_path(comment.post, comment), remote: true, class: :edit_comment
li= link_to 'Delete', [comment.post, comment], method: :delete, remote: true, class: :delete_comment
div class="markdown group" = comment_content comment
Jump to Line
Something went wrong with that request. Please try again.