{% extends "main.html" %}


{% block title %}Person (Verbose){% endblock %}


{% block breadcrumbs %}
<div class="breadcrumbs">
    <a href='{% url "index" %}'>Home</a>&nbsp;›
    <a href="{% url 'kg_person_list' %}">People</a>&nbsp;›
    <a href="{% url 'kg_person_detail' person.username %}">{{ person }}</a>&nbsp;›
    Verbose
</div>
{% endblock %}


{% block content %}
<div id="content-main">

    {% for name, details in account_details.items %}
    <div class="module">
        <h2>Account details - {{ name }}</h2>
        {% for a in details %}
        <h3>{{ a.datastore }}</h3>
        <div class="table-container">
            <table class="keyvalue">
                {% for i,j in a.items %}
                    <tr>
                        <th>{{ i }}</th><td>{{ j }}</td>
                   </tr>
                {% endfor %}
            </table>
        </div>
        {% empty %}
        <p>No datastores.</p>
        {% endfor %}
    </div>
    {% empty %}
    <div class="module">
        <h2>Account details</h2>
        <p>No accounts.</p>
    </div>
    {% endfor %}

</div>
{% endblock %}
