<commit_before>{% extends "base.html" %}

{% block page %}
  <h1><i class="fa fa-icon fa-group"></i> Parliamentary Committees</h1>

  <h2>National Assembly</h2>
  <ul>
    {% for committee in committees %}
      {% if committee.house.id == 3 and not committee.ad_hoc %}
        <li>
          <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
        </li>
      {% endif %}
    {% endfor %}
  </ul>

  <h2>National Council of Provinces</h2>
  <ul>
    {% for committee in committees %}
      {% if committee.house.id == 2 and not committee.ad_hoc %}
        <li>
          <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
        </li>
      {% endif %}
    {% endfor %}
  </ul>

  <h2>Joint Committees</h2>
  <ul>
    {% for committee in committees %}
      {% if committee.house.id == 1 and not committee.ad_hoc %}
        <li>
          <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
        </li>
      {% endif %}
    {% endfor %}
  </ul>

  <h2>Ad-Hoc committees</h2>
  <h4>National Assembly</h4>
  <ul>
    {% for committee in committees %}
      {% if committee.house.id == 3 and committee.ad_hoc %}
        <li>
          <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
        </li>
      {% endif %}
    {% endfor %}
  </ul>

  <h4>National Council of Provinces</h4>
  <ul>
    {% for committee in committees %}
      {% if committee.house.id == 2 and committee.ad_hoc %}
        <li>
          <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
        </li>
      {% endif %}
    {% endfor %}
  </ul>

  <h4>Joint Committees</h4>
  <ul>
    {% for committee in committees %}
      {% if committee.house.id == 1 and committee.ad_hoc %}
        <li>
          <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
        </li>
      {% endif %}
    {% endfor %}
  </ul>

{% endblock page %}<commit_msg>Arange committee lists into columns.<commit_after>{% extends "base.html" %}

{% block page %}
  <h1><i class="fa fa-icon fa-group"></i> Parliamentary Committees</h1>

  <div class="row">
    <div class="col-md-4">
      <h3>National Assembly</h3>
      <ul>
        {% for committee in committees %}
          {% if committee.house.id == 3 and not committee.ad_hoc %}
            <li>
              <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
            </li>
          {% endif %}
        {% endfor %}
      </ul>
    </div>
    <div class="col-md-4">
      <h3>National Council of Provinces</h3>
      <ul>
        {% for committee in committees %}
          {% if committee.house.id == 2 and not committee.ad_hoc %}
            <li>
              <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
            </li>
          {% endif %}
        {% endfor %}
      </ul>
    </div>
    <div class="col-md-4">
      <h3>Joint Committees</h3>
      <ul>
        {% for committee in committees %}
          {% if committee.house.id == 1 and not committee.ad_hoc %}
            <li>
              <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
            </li>
          {% endif %}
        {% endfor %}
      </ul>
    </div>
  </div>

  <hr>
  <h2>Ad-Hoc committees</h2>
  <div class="row">
    <div class="col-md-4">
      <h3>National Assembly</h3>
      <ul>
        {% for committee in committees %}
          {% if committee.house.id == 3 and committee.ad_hoc %}
            <li>
              <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
            </li>
          {% endif %}
        {% endfor %}
      </ul>
    </div>
    <div class="col-md-4">
      <h3>National Council of Provinces</h3>
      <ul>
        {% for committee in committees %}
          {% if committee.house.id == 2 and committee.ad_hoc %}
            <li>
              <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
            </li>
          {% endif %}
        {% endfor %}
      </ul>
    </div>
    <div class="col-md-4">
      <h3>Joint Committees</h3>
      <ul>
        {% for committee in committees %}
          {% if committee.house.id == 1 and committee.ad_hoc %}
            <li>
              <a href="{{ url_for('committee_detail', committee_id=committee.id) }}">{{ committee.name }}</a>
            </li>
          {% endif %}
        {% endfor %}
      </ul>
    </div>
  </div>

{% endblock page %}
{'fraction_non_alphanumeric': 0.18517736486486486, 'fraction_numerical': 0.010557432432432432, 'mean_word_length': 2.0307101727447217, 'pattern_counts': {'":': 0, '<': 128, '<?xml version=': 0, '>': 128, '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': '7574056', 'n_tokens_mistral': 1731, 'n_tokens_neox': 1518, 'n_words': 349}