{% extends "billy/base.html" %} {% load humanize %} {% block title %} {{ bill.state|upper }} {{ bill.bill_id }} {% endblock %} {% block content %}
json dump

{{bill.state|upper}} {{bill.bill_id}}

{{bill.title}}

{% if bill.alternate_titles %}
Alternate Titles
    {{bill.alternate_titles|unordered_list}}
{% endif %}
Type
{{bill.type|join:','}}
Session
{{bill.session}}
Chamber
{{bill.chamber}}
{% if bill.subjects %}
Subjects
{{bill.subjects|join:'
'}}
{% endif %} {# show plus fields #} {% for k,v in bill.items %} {% if "+" in k %}
{{k}}
{{v}}
{% endif %} {% endfor %}
Updated at
{{bill.updated_at|date:"c"}}

Sources:

Sponsors:

Actions:

Votes:

{% if bill.votes %} {% for vote in bill.votes %} {% if vote.sources %} {% endif %} {% endfor %}
Motion Chamber Date Result Yes Votes No Votes Other Votes
{{vote.motion}} {{vote.chamber}} {{vote.date|naturalday}} {{vote.yes_count}}-{{vote.no_count}}-{{vote.other_count}} [{{vote.passed|yesno:"passed,failed"}}] {% for v in vote.yes_votes %}{{v.name}},{%endfor%} {% for v in vote.no_votes %}{{v.name}},{%endfor%} {% for v in vote.other_votes %}{{v.name}},{%endfor%}
{% else %} 0 votes {% endif %}

Versions:

Documents:

{% endblock %}