summaryrefslogtreecommitdiffstats
path: root/templates/admin/domain_edit.html
blob: 59bb8a28bbe0c704a6c1eda0850d67748d5b0a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "settings/base.html" %}

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

{% block content %}
    <form action="." method="POST">
        {% csrf_token %}
        <fieldset>
            <legend>Domain Details</legend>
            {% include "forms/_field.html" with field=form.domain %}
            {% include "forms/_field.html" with field=form.service_domain %}
        </fieldset>
        <fieldset>
            <legend>Access Control</legend>
            {% include "forms/_field.html" with field=form.public %}
        </fieldset>
        <div class="buttons">
            <a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
            <button>Save</button>
        </div>
    </form>
{% endblock %}