<commit_before>{% extends "cwod/base.html" %}
{% load humanize capwords %}

{% block og_title %}{{ legislator.full_name }}{% endblock %}
{% block title %}{{ legislator.full_name }} | {{ block.super }}{% endblock title %}

{% block content %}
<div id="main">
    <div id="internalHead">
        <img class="legislatorImage" alt="legislator photo" src="{% legislator_thumbnail legislator.bioguide_id 40x50 %}" />
        <div id="legislatorDetail">
            <h2 class="withButton">{{ legislator.full_name }}</h2>
            <a class="editResults" href="{% url cwod_legislator_list %}">Select a Different Legislator</a>
            <div class="clear"></div>
            <dl class="metaData">
                <dt>Party</dt>
                <dd class="withBar">{{ legislator.party }}</dd>

                <dt>State{% ifequal legislator.honorific "Rep." %} and District{% endifequal %}</dt>
                <dd class="withBar"><a href="{% url cwod_state_detail state=legislator.state %}">{{ legislator.state|state_abbrev_to_full }}</a>{% ifequal legislator.honorific "Rep." %}, District {{ legislator.district }}{% endifequal %}</dd>

                <dt>Chamber</dt>
                <dd class="withBar">{% ifequal legislator.honorific "Rep." %}House{% else %}Senate{% endifequal %}</dd>

                <dt>Last served</dt>
                <dd>{% ifequal legislator.congress current_congress %}Currently in congress{% else %}Last served in the {{ legislator.congress|ordinal }} congress{% endifequal %}</dd>
            </dl>
        </div>
        {% include "cwod/partials/share_buttons.html" %}
        <div class="clear"></div>
    </div>
    <div id="ltColumn">
        {% if legislator.current %}
        {% comment %}
        <div id="timeFilterWrapper">
            <form id="timeFilter" class="actionItem" action="" method="">
                <label>Time frame</label>
                <select name="time"><commit_msg>Update legislator_detail.html<commit_after>{% extends "cwod/base.html" %}
{% load humanize capwords %}

{% block og_title %}{{ legislator.full_name }}{% endblock %}
{% block title %}{{ legislator.full_name }} | {{ block.super }}{% endblock title %}

{% block content %}
<div id="main">
    <div id="internalHead">
        <img class="legislatorImage" alt="legislator photo" src="{% legislator_thumbnail legislator.bioguide_id 40x50 %}" width="40" height="50"/>
        <div id="legislatorDetail">
            <h2 class="withButton">{{ legislator.full_name }}</h2>
            <a class="editResults" href="{% url cwod_legislator_list %}">Select a Different Legislator</a>
            <div class="clear"></div>
            <dl class="metaData">
                <dt>Party</dt>
                <dd class="withBar">{{ legislator.party }}</dd>

                <dt>State{% ifequal legislator.honorific "Rep." %} and District{% endifequal %}</dt>
                <dd class="withBar"><a href="{% url cwod_state_detail state=legislator.state %}">{{ legislator.state|state_abbrev_to_full }}</a>{% ifequal legislator.honorific "Rep." %}, District {{ legislator.district }}{% endifequal %}</dd>

                <dt>Chamber</dt>
                <dd class="withBar">{% ifequal legislator.honorific "Rep." %}House{% else %}Senate{% endifequal %}</dd>

                <dt>Last served</dt>
                <dd>{% ifequal legislator.congress current_congress %}Currently in congress{% else %}Last served in the {{ legislator.congress|ordinal }} congress{% endifequal %}</dd>
            </dl>
        </div>
        {% include "cwod/partials/share_buttons.html" %}
        <div class="clear"></div>
    </div>
    <div id="ltColumn">
        {% if legislator.current %}
        {% comment %}
        <div id="timeFilterWrapper">
            <form id="timeFilter" class="actionItem" action="" method="">
                <label>Time frame</label>
                <select name="time">
{'fraction_non_alphanumeric': 0.1724049331963001, 'fraction_numerical': 0.0041109969167523125, 'mean_word_length': 2.7796116504854367, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '3862799', 'n_tokens_mistral': 1271, 'n_tokens_neox': 1158, 'n_words': 260}