<commit_before><h2><%= t("valuation.spending_proposals.index.title") %></h2>

<div>
  <%= form_tag valuation_spending_proposals_path, method: :get, enforce_utf8: false do %>
    <div class="small-12 medium-4 column float-right">
      <%= select_tag :geozone_id,
                     options_for_select(geozone_select_options.unshift([t("geozones.none"), "all"]), params[:geozone_id]),
                     { prompt: t("valuation.spending_proposals.index.geozone_filter_all"),
                       label: false,
                       class: "js-submit-on-change" } %>
    </div>
  <% end %>
</div>

<%= render 'shared/filter_subnav', i18n_namespace: "valuation.spending_proposals.index" %>

<h3><%= page_entries_info @spending_proposals %></h3>

<table>
  <% @spending_proposals.each do |spending_proposal| %>
    <tr id="<%= dom_id(spending_proposal) %>">
      <td>
        <strong><%= spending_proposal.id %></strong>
      </td>
      <td>
        <%= link_to spending_proposal.title, valuation_spending_proposal_path(spending_proposal) %>
      </td>
      <td class="small">
        <%= link_to t("valuation.spending_proposals.index.edit"), edit_valuation_spending_proposal_path(spending_proposal) %>
      </td>
      <td class="small">
        <%= assigned_valuators_info(spending_proposal.valuators) %>
      </td>
      <td class="small">
        <%= geozone_name(spending_proposal) %>
      </td>
    </tr>
  <% end %>
</table>

<%= paginate @spending_proposals %><commit_msg>deactivates pagination in valuation/spending#index<commit_after><h2><%= t("valuation.spending_proposals.index.title") %></h2>

<div>
  <%= form_tag valuation_spending_proposals_path, method: :get, enforce_utf8: false do %>
    <div class="small-12 medium-4 column float-right">
      <%= select_tag :geozone_id,
                     options_for_select(geozone_select_options.unshift([t("geozones.none"), "all"]), params[:geozone_id]),
                     { prompt: t("valuation.spending_proposals.index.geozone_filter_all"),
                       label: false,
                       class: "js-submit-on-change" } %>
    </div>
  <% end %>
</div>

<%= render 'shared/filter_subnav', i18n_namespace: "valuation.spending_proposals.index" %>

<table>
  <% @spending_proposals.each do |spending_proposal| %>
    <tr id="<%= dom_id(spending_proposal) %>">
      <td>
        <strong><%= spending_proposal.id %></strong>
      </td>
      <td>
        <%= link_to spending_proposal.title, valuation_spending_proposal_path(spending_proposal) %>
      </td>
      <td class="small">
        <%= link_to t("valuation.spending_proposals.index.edit"), edit_valuation_spending_proposal_path(spending_proposal) %>
      </td>
      <td class="small">
        <%= assigned_valuators_info(spending_proposal.valuators) %>
      </td>
      <td class="small">
        <%= geozone_name(spending_proposal) %>
      </td>
    </tr>
  <% end %>
</table>
{'fraction_non_alphanumeric': 0.16102564102564101, 'fraction_numerical': 0.006153846153846154, 'mean_word_length': 3.132768361581921, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '7054609', 'n_tokens_mistral': 1083, 'n_tokens_neox': 1015, 'n_words': 145}