summaryrefslogtreecommitdiffstats
path: root/templates/admin/domain_edit.html
blob: 3e7f70b52806d21b437cca89bff5943ccd0492e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% 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 %}
            {% include "forms/_field.html" with field=form.default %}
        </fieldset>
        <div class="buttons">
            <a href="{{ domain.urls.root }}" class="button secondary left">Back</a>
            <a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
            <button>Save</button>
        </div>
    </form>
{% endblock %}