<commit_before>{% extends "electees/base_electees.html" %}
{% load static %}
{% block subnavEditMembership %}active{%endblock%}
{% block content %}
<div class="row">
    <div class="col-md-6">
        <h4>Update Electee Team Membership </h4>
        <p>Click and drag electees into the desired team and click save to update.</p>
            <h5>Unassigned Electees</h5>
        <div class="DragContainer" id="AllElectees" overclass="OverDragContainer">
            {% for electee in unassigned_electees %}
            <div class="DragBox" id="{{electee.uniqname}}" overclass="OverDragBox" dragclass="DragDragBox">{{electee}}, {% for major in electee.major.all %}{{major.acronym}} {%endfor %}, {{electee.standing}}</div>
            {% endfor %}
        </div>
    </div>
    <div class="col-md-6">
        {% for team in electee_groups %}
        <div>
            <h5>{{team.group_name}}</h5>
            <div class="DragContainer" id="DragContainer{{team.id}}" overclass="OverDragContainer">
                {% for member in team.members.all %}
                <div class="DragBox" id="{{member.uniqname}}" overclass="OverDragBox" dragclass="DragDragBox">{{member}},  {% for major in member.major.all %}{{major.acronym}} {%endfor %}, {{member.standing}}</div>
                {% endfor %}
            </div>
        </div>
        {% endfor %}
    </div>
</div>
<form action="{% url 'electees:edit_electee_group_membership' %}" method="post" name="electeeGroupMembership">
    {% csrf_token %}
    <p><input type="submit" value="Save Changes" name="submit" id="submitchanges" /></p>
</form><commit_msg>Show electee team leaders in member adding<commit_after>{% extends "electees/base_electees.html" %}
{% load static %}
{% block subnavEditMembership %}active{%endblock%}
{% block content %}
<div class="row">
    <div class="col-md-6">
        <h4>Update Electee Team Membership </h4>
        <p>Click and drag electees into the desired team and click save to update.</p>
            <h5>Unassigned Electees</h5>
        <div class="DragContainer" id="AllElectees" overclass="OverDragContainer">
            {% for electee in unassigned_electees %}
            <div class="DragBox" id="{{electee.uniqname}}" overclass="OverDragBox" dragclass="DragDragBox">{{electee}}, {% for major in electee.major.all %}{{major.acronym}} {%endfor %}, {{electee.standing}}</div>
            {% endfor %}
        </div>
    </div>
    <div class="col-md-6">
        {% for team in electee_groups %}
        <div>
            <h5>{{team.group_name}}</h5>
            <p><strong>Leaders</strong></p>
            <ul>
            {% for leader in team.leaders.all %}
            <li>{{leader.get_firstlast_name}}</li>
            {% endfor %}
            </ul>
            <div class="DragContainer" id="DragContainer{{team.id}}" overclass="OverDragContainer">
                {% for member in team.members.all %}
                <div class="DragBox" id="{{member.uniqname}}" overclass="OverDragBox" dragclass="DragDragBox">{{member}},  {% for major in member.major.all %}{{major.acronym}} {%endfor %}, {{member.standing}}</div>
                {% endfor %}
            </div>
        </div>
        {% endfor %}
    </div>
</div>
<form action="{% url 'electees:edit_electee_group_membership' %}" method="post" name="electeeGroupMembership">
    {% csrf_token %}
    <p><input type="submit" value="Save Changes" name="submit" id="submitchanges" /></p>
</form>
{'fraction_non_alphanumeric': 0.17640220866027317, 'fraction_numerical': 0.004649811101424005, 'mean_word_length': 2.9427262313860254, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '6986260', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1051, 'n_words': 226}