{% extends "admin/base_main.html" %}

{% block subtitle %}{{ domain.domain }}{% endblock %}

{% block settings_content %}
    <form action="." method="POST">
        {% csrf_token %}
        <h1>{{ domain }}</h1>
        <fieldset>
            <legend>Federation Controls</legend>
            {% include "forms/_field.html" with field=form.blocked %}
        </fieldset>
        <fieldset>
            <legend>Admin Notes</legend>
            {% include "forms/_field.html" with field=form.notes %}
        </fieldset>
        <div class="buttons">
            <a href="{{ domain.urls.root_federation }}?page={{ page }}" class="button secondary left">Back</a>
            <a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
            <button>Save</button>
        </div>
    </form>
{% endblock %}
