{% extends "base.html" %}
{% block title %}
Login
{% endblock title %}
{% block content %}
{% with current_username = username(session) %}
{% if error is defined %}
{{ error }}
{% elif current_username is defined %}
Logged in as user "{{ current_username }}"
{% else %}
Logged out
{% endif %}
{% endwith %}
{% endblock content %}