{% extends "testapp/base.html" %} {% block template_name %}testapp/budget.html{% endblock %} {% block content %}
{% if items.is_empty %}

You have not added any budget lines

{% else %}

You have added {{ items.count }} budget line{{ items.count|pluralize }}

You have completed {{ items.completed }} of {{ items.count }}.

{% endif %}
{% csrf_token %} {{ form.errors.add_another }} {% if not items.is_empty %} {% endif %}
{% endblock %}