<%= avatar_tag(email: comment.email, url: comment.url, size: 48, class: 'img-circle') %>

<%= t("admin.feedback.state.#{comment.state}") %>

<%= link_to comment.article.title, controller: 'feedback', action: 'article', id: comment.article_id %>

<%= t('.by') %> <%= mail_to h(comment.email), h(comment.author) %> <%= link_to "(#{h(comment.url)})".html_safe, comment.url if comment.url.present? %> <%= t('.created_on') %> <%= l(comment.created_at) %>

<%= t('.this_comment_by_was_flagged_as_spam_html', author: comment.author, cancel_link: link_to(t('.cancel'), url: { action: 'change_state', id: comment.id, remote: true })) %> <%= toggle_element "feedback_#{comment.id}" %>