<%= t('activerecord.models.comments') %>

<%= render 'tab_admin_menu' %>

<%= t('comments.sorted_by_oldest') %>

<% @comments.each do |comment| %> <% end %>
<%= t('activerecord.attributes.comments.author') %>, <%= t('activerecord.models.page') %>, <%= t('activerecord.attributes.comments.locale') %>
<%= t('activerecord.attributes.comments.body') %>
<%= t('activerecord.attributes.comments.status') %> <%= t('actions') %>
<%= comment.author.name %> - <%= link_to comment.page.title, comment.page %> | <%= comment.locale %>

<%= sanitize comment.body.gsub(/\r\n?/, "
"), :tags => %w(br), :attributes => %w() %>
<%= t("comments.status.#{comment.status}") %><%= t 'colon' %><%= render 'comments/status_buttons', comment: comment %> <%= link_to t('edit'), edit_comment_path(comment), class: 'btn btn-mini' %><%= link_to t('delete'), comment, method: :delete, data: { confirm: t('are_you_sure') }, class: 'btn btn-mini btn-danger' %>
<%= will_paginate @comments %> <%= render 'shared/admin_sidebar' %>