<%= image_tag comment.user.profile.avatar.url %>

<%= flag(comment.user.country) if comment.user.country %> <%= namelink(comment.user) %> <% if comment.user.team %> | <%= namelink(comment.user.team) %><% end %>

<% if cuser %> <%= link_to '#', data:{on: :click, call: 'QuoteText',args: "#{comment.id}, 'comments'"} %> <% if comment.can_update? cuser %> <%= link_to icon('pencil'), edit_comment_path(comment) %> <% end %> <% if comment.can_destroy? cuser %> <%= link_to icon('times'), comment, :confirm => 'Are you sure?', :method => :delete %> <% end %> <% end %>
<%= comment.text_parsed.html_safe %>

<%= comment.created_at.strftime("%-d %B %Y, %H:%M") %>