{% extends 'brain/base.html.twig' %}

{% block title %}{{ type }} {% endblock %}

{% block page_title %}<h1>All {{ type }}</h1>{% endblock %}

{# {% block actions%}Actions here{% endblock %} #}

{% block admin %}
    <div class="list">
        <h2><a href="/brain/{{type|lower}}/new">New {{ type }}</a></h2>
        <table class="posts">
            <thead>
                <tr>
                    <td>Title</td>
                </tr>
            </thead>
            <tbody>
                {% for term in taxonomy %}
                    <tr>
                        <td>{{term.title}}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>
{% endblock %}
