<commit_before><h3>Reported Posts</h3>
<p>A list of posts that have been flagged for admin attention by users. They should have reasons with them that the
  user submitted when reporting; do the needful then mark it done.</p>

<table class="table">
  <% @posts.each do |post| %>
    <%= render 'posts/post', :post => post %>
    <tr>
      <td>
        <p><strong>Reason:</strong> <%= post.admin_reason %></p>
        <a href="#" class="admin-report-done btn btn-sm btn-success" data-post-id="<%= post.id %>">Done</a>
      </td>
    </tr>
  <% end %>
</table><commit_msg>finish view<commit_after><h3>Reported Posts</h3>
<p>A list of posts that have been flagged for admin attention by users. They should have reasons with them that the
  user submitted when reporting; do the needful then dismiss it.</p>

<table class="table">
  <% @flags.each do |flag| %>
    <%= render 'posts/post', :post => flag.post %>
    <tr>
      <td>
        <p>
          <strong>Reason:</strong> <%= flag.reason %>
          <%= unless flag.username.nil? %>
            &mdash; <%= flag.username %>
          <% end %>
        </p>
        <a href="#" class="admin-report-done btn btn-sm btn-success" data-post-id="<%= flag.post.id %>">Dismiss</a>
      </td>
    </tr>
  <% end %>
</table>
{'fraction_non_alphanumeric': 0.1778127458693942, 'fraction_numerical': 0.003147128245476003, 'mean_word_length': 2.752212389380531, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 50, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7231524', 'n_tokens_mistral': 440, 'n_tokens_neox': 409, 'n_words': 127}