<span id="flag-actions-<%= dom_id(comment) %>" class="js-flag-actions">
  <%= render 'comments/flag_actions', comment: comment %>
</span>

<span class='js-moderation-actions'>
  <% if can? :hide, comment %>
    <span class="divider">&nbsp;&bull;&nbsp;</span>
    <%= link_to t("admin.actions.hide").capitalize, hide_moderation_comment_path(comment),
                method: :put, remote: true, data: { confirm: t('admin.actions.confirm') } %>
  <% end %>

  <% if can? :hide, comment.user %>
    <span class="divider">&nbsp;&bull;&nbsp;</span>
    <%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(comment.user_id),
                method: :put, data: { confirm: t('admin.actions.confirm') } %>
  <% end %>
</span>
