Comments

<%= @title %>

<% if @comments_count > 0 %> <% @comments.each do |comment| %> <% end %>
Comment Page Received At Actions
<%= simple_format comment.body %>

<%= comment.name %> | <%= comment.email %> | <%= comment.website %>

<%= link_to comment.page.title_for_menu, page_path(comment.page) %> <%= l(comment.created_at, format: :comment) %> <% if comment.approved? %> <%= link_to(t('link.unapprove'), admin_comment_comment_approval_path(comment), method: :delete, class: 'btn btn--success') %> <% else %> <%= link_to(t('link.approve'), admin_comment_comment_approval_path(comment), method: :post, class: 'btn btn--success') %> <% end %> <%= link_to(t('link.edit'), edit_admin_comment_path(comment), class: 'btn btn--warning') %> <%= link_to(t('link.remove'), admin_comment_path(comment), method: :delete, data: { confirm: t('notice.comment.destroy_confirmation') }, class: 'btn btn--danger') %>
<% else %>

<%= t('message.none') %>

<% end %>