{{ t.heading }}
{% if signed_in %}
{{ signed_in_text }}
{{ t.open }}
{% csrf_token %}
{{ t.logout }}
{% else %} {% if error %}
{{ error }}
{% endif %}
{% csrf_token %}
{{ t.username }}
{{ t.password }}
{{ t.submit }}
{% endif %}