<commit_before><div class="admin_breadcrumb">
  <%= link_to t("gobierto_admin.welcome.index.title"), admin_root_path %> »
  <%= link_to t("gobierto_admin.layouts.application.citizens_charters"), admin_citizens_charters_path %> »
  <%= t(".title") %>
</div>

<h1><%= t(".title") %></h1>

<div class="tabs">
  <ul>
    <li class="active">
      <%= link_to t("gobierto_admin.gobierto_citizens_charters.configuration.settings.title"), edit_admin_citizens_charters_configuration_settings_path %>
    </li>
  </ul>
</div>

<%= form_for @settings_form, as: :gobierto_citizens_charters_settings, url: admin_citizens_charters_configuration_settings_path,  method: :patch, html: { autocomplete: "off" } do |f| %>
  <div class="pure-g">
    <div class="pure-u-1 pure-u-md-16-24">
      <div class="form_item select_control">
        <%= f.label :categories_vocabulary_id %>
        <%= f.select :categories_vocabulary_id,
          options_for_select(@settings_form.vocabularies_options, selected: @settings_form.gobierto_module_settings.categories_vocabulary_id),
          { include_blank: true } %>
      </div>


      <div class="form_block">
        <h2><%= t(".services") %></h2>
        <div class="form_item site-module-check-boxes">
          <div class="options compact">
            <div class="option">
              <%= f.check_box :enable_services %>
              <%= f.label :enable_services do %>
                <span></span>
                <%= t(".enable_services")  %>
              <% end %>
            </div>
            <div class="option">
              <%= f.check_box :enable_services_home %>
              <%= f.label :enable_services_home do %>
                <span></span>
                <%= t(".enable_services_home")  %>
              <% end %>
            </div>
          </div>
        </div>
      </div>
      <div class="form_block">
        <h2><%= t(".charters") %></h2>
        <div class="form_item site-module-check-boxes">
          <div class="options compact">
            <div class="option">
              <%= f.check_box :enable_charters %>
              <%= f.label :enable_charters do %>
                <span></span>
                <%= t(".enable_charters")  %>
              <% end %>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="pure-u-1 pure-u-md-2-24"></div>

    <div class="pure-u-1 pure-u-md-1-4 ">
      <div class="widget_save stick_in_parent">
        <%= f.submit t(".update"), class: "button" %>
      </div>
    </div>
  </div>
<% end %><commit_msg>Move display categories option from services to charters section in settings<commit_after><div class="admin_breadcrumb">
  <%= link_to t("gobierto_admin.welcome.index.title"), admin_root_path %> »
  <%= link_to t("gobierto_admin.layouts.application.citizens_charters"), admin_citizens_charters_path %> »
  <%= t(".title") %>
</div>

<h1><%= t(".title") %></h1>

<div class="tabs">
  <ul>
    <li class="active">
      <%= link_to t("gobierto_admin.gobierto_citizens_charters.configuration.settings.title"), edit_admin_citizens_charters_configuration_settings_path %>
    </li>
  </ul>
</div>

<%= form_for @settings_form, as: :gobierto_citizens_charters_settings, url: admin_citizens_charters_configuration_settings_path,  method: :patch, html: { autocomplete: "off" } do |f| %>
  <div class="pure-g">
    <div class="pure-u-1 pure-u-md-16-24">
      <div class="form_item select_control">
        <%= f.label :categories_vocabulary_id %>
        <%= f.select :categories_vocabulary_id,
          options_for_select(@settings_form.vocabularies_options, selected: @settings_form.gobierto_module_settings.categories_vocabulary_id),
          { include_blank: true } %>
      </div>


      <div class="form_block">
        <h2><%= t(".services") %></h2>
        <div class="form_item site-module-check-boxes">
          <div class="options compact">
            <div class="option">
              <%= f.check_box :enable_services %>
              <%= f.label :enable_services do %>
                <span></span>
                <%= t(".enable_services")  %>
              <% end %>
            </div>
          </div>
        </div>
      </div>
      <div class="form_block">
        <h2><%= t(".charters") %></h2>
        <div class="form_item site-module-check-boxes">
          <div class="options compact">
            <div class="option">
              <%= f.check_box :enable_charters %>
              <%= f.label :enable_charters do %>
                <span></span>
                <%= t(".enable_charters")  %>
              <% end %>
            </div>
            <div class="option">
              <%= f.check_box :enable_services_home %>
              <%= f.label :enable_services_home do %>
                <span></span>
                <%= t(".enable_services_home")  %>
              <% end %>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="pure-u-1 pure-u-md-2-24"></div>

    <div class="pure-u-1 pure-u-md-1-4 ">
      <div class="widget_save stick_in_parent">
        <%= f.submit t(".update"), class: "button" %>
      </div>
    </div>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.17120772946859902, 'fraction_numerical': 0.006956521739130435, 'mean_word_length': 2.2329793878825734, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 151, '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': '5835976', 'n_tokens_mistral': 1807, 'n_tokens_neox': 1673, 'n_words': 282}