<commit_before><% content_for :sidebar_left do %>
  <p class="info">
    Questions can now easily be resolved by viewing a question and pressing "resolve question". A resolved question will be reopened if a participant adds corresponence to it.
  </p>
  <h4>Statuses</h4>
    <ul>
      <li><b>New</b> - questions that have not been answered by a functionary</li>
      <li><b>Open</b> - questions that have been answered by a functionary, but not resolved</li>
      <li><b>Resolved</b> - questions that are viewed as resolved by a functionary</li>
    </ul>
<% end %>
<%= form_for Question.new, :url=> q_status_questions_path do |f| %>
  <div class="type-text">
    <%= select_tag(:status, options_from_collection_for_select(@statuses, :id, :name, @status.id)) %>
    <%= f.submit "Show"%>
  </div>
  <br />
<%end%>
<table class="full">
  <tr>
    <th>Subject</th>
    <th class="full">Participant</th>
    <th>Created at</th>
    <th></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <% last_func = Functionary.new %>
  <% @questions.each do |question| %><commit_msg>Fixed pagination on open and resolved<commit_after><% content_for :sidebar_left do %>
  <p class="info">
    Questions can now easily be resolved by viewing a question and pressing "resolve question". A resolved question will be reopened if a participant adds corresponence to it.
  </p>
  <h4>Statuses</h4>
    <ul>
      <li><b>New</b> - questions that have not been answered by a functionary</li>
      <li><b>Open</b> - questions that have been answered by a functionary, but not resolved</li>
      <li><b>Resolved</b> - questions that are viewed as resolved by a functionary</li>
    </ul>
<% end %>
<%= form_for Question.new, :html => {:method => "get"}, :url=> q_status_questions_path do |f| %>
  <div class="type-text">
    <%= select_tag(:status, options_from_collection_for_select(@statuses, :id, :name, @status.id)) %>
    <%= f.submit "Show"%>
  </div>
  <br />
<%end%>
<table class="full">
  <tr>
    <th>Subject</th>
    <th class="full">Participant</th>
    <th>Created at</th>
    <th></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <% last_func = Functionary.new %>
  <% @questions.each do |question| %>
{'fraction_non_alphanumeric': 0.17247623358985967, 'fraction_numerical': 0.0018107741059302852, 'mean_word_length': 3.537987679671458, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 99, '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': '7576767', 'n_tokens_mistral': 784, 'n_tokens_neox': 755, 'n_words': 220}