{% extends 'base.html' %}
{% import 'fomanticui.j2' as sui %}
{% import 'flask.j2' as flask %}

{% block content %}
<div class="loginform">
    <h3 class="ui top attached header">
        {% trans %}View a token{% endtrans %}
    </h3>

    {{ flask.messages() }}

    <div class="ui attached clearing segment">
        <ul>
        {% for attr in token.may %}
            <li>{{ attr }}: {{ token[attr] }}</li>
        {% endfor %}
        {% for attr in token.must %}
            <li>{{ attr }}: {{ token[attr] }}</li>
        {% endfor %}
        </ul>
    </div>
</div>
{% endblock %}
