{% extends "base.html" %} {% block title %}Compare Legislators{% endblock %} {% block body %} Compare legislators Up to 4 legislators · up to 8 issue axes · each polygon = one legislator's full issue profile Search legislators {% for legislator_id in selected_legislators %} {% endfor %} {% for topic in topics %} {% endfor %} Search Legislators ({{ selected_legislator_options|length }} / 4) {% for legislator in selected_legislator_options %} {% set without = selected_legislators | reject('equalto', legislator.legislator_id) | list %} {{ legislator.display_name }}{% if legislator.state %} — {{ legislator.state }}{% endif %} × {% endfor %} {% if selected_legislator_options|length < 4 %} {% for option in legislator_options %} {% if option.legislator_id not in selected_legislators %} + {{ option.display_name }} {% endif %} {% endfor %} {% endif %} Issue axes ({{ topics|length }} / 8) {% for topic in topics %} {% set without_topic = topics[:loop.index0] + topics[loop.index:] %} {{ topic }} × {% endfor %} {% if topics|length < 8 %} {% for topic in topic_options %} {% if topic not in topics %} {{ topic }} {% endif %} {% endfor %} {% endif %} {{ radar_svg | safe }} {% endblock %}
Up to 4 legislators · up to 8 issue axes · each polygon = one legislator's full issue profile