<commit_before><% # Params:
   #
   #   i18n_namespace: for example "moderation.debates.index"
%>

<div class="wide-order-selector small-12 medium-8">
  <form>
    <div class="small-12 medium-6 float-left">
      <label for="order-selector-participation">
        <%= t("#{i18n_namespace}.select_order") %>
      </label>
    </div>
    <div class="small-12 medium-6 float-left">
      <select class="js-location-changer js-order-selector select-order" data-order="<%= @current_order %>" name="order-selector" id="order-selector-participation">
         <% @valid_orders.each do |order| %>
           <option <%= 'selected' if order == @current_order %>
                   value='<%= current_path_with_query_params(order: order, page: 1) %>'>
             <%= t("#{i18n_namespace}.orders.#{order}") %>
           </option>
         <% end %>
       </select>
     </div>
  </form>
</div><commit_msg>Cleanup indentation and line lenght aat order select partial<commit_after><% # Params:
   #
   #   i18n_namespace: for example "moderation.debates.index"
%>

<div class="wide-order-selector small-12 medium-8">
  <form>
    <div class="small-12 medium-6 float-left">
      <label for="order-selector-participation">
        <%= t("#{i18n_namespace}.select_order") %>
      </label>
    </div>
    <div class="small-12 medium-6 float-left">
      <select class="js-location-changer js-order-selector select-order"
              data-order="<%= @current_order %>" name="order-selector"
              id="order-selector-participation">
        <% @valid_orders.each do |order| %>
          <% value = current_path_with_query_params(order: order, page: 1) %>
          <option value="<%= value %>" <%= 'selected' if order == @current_order %>>
            <%= t("#{i18n_namespace}.orders.#{order}") %>
          </option>
        <% end %>
      </select>
    </div>
  </form>
</div>
{'fraction_non_alphanumeric': 0.18060735215769846, 'fraction_numerical': 0.017048481619605753, 'mean_word_length': 2.756, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, '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': '5316728', 'n_tokens_mistral': 650, 'n_tokens_neox': 601, 'n_words': 113}