{% extends 'multimail/base.html' %}

{% block content %}
    <h1 class="mt-4">Domains</h1>

    {% if domain_list %}
        <ul>
            {% for question in domain_list %}
                <li><a href="{% url 'multimail:detail' question.id %}">{{ question.domain }}</a></li>
            {% endfor %}
        </ul>
    {% else %}
        <p>No multimail are available.</p>
    {% endif %}

{% endblock %}