{% extends 'editor/editor.html' %}

{% block main %}
    
    <div class="padding">
        
        <p class="margin-left">
            This is a list of all templates available on this instance:
        </p>
        
        {% for t in templates %}
            <div class="margin-left">
                <a href="{{ url('edit', type='template', id=t['id']['value']) }}">
                    {{ t['id']['value'] }}
                </a>
            </div>
        {% endfor %}
        
    </div>

{% endblock %}
