<%= comment.time %> |
<%= comment.comment.html_safe %> |
<%= comment.account %>
<% comment.roles.each do |role| %>
<%= role.title rescue '' %>
<% end %>
|
<%= comment.ip %> |
<%= button_tag (comment.is_hidden ? t('show') : t('is_hidden')), type: 'button',"data-href" => "/#{I18n.locale}/admin/annc-comment-hidden/#{comment.id}",:onclick => "update_status(this)" ,class: (comment.is_hidden ? 'btn btn-primary' : 'btn btn-info') %> |
<% end %>