takahe/templates/admin/domain_edit.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2022-11-17 16:43:00 -08:00
{% extends "settings/base.html" %}
2022-11-16 20:12:28 -08:00
2022-11-17 16:43:00 -08:00
{% block subtitle %}{{ domain.domain }}{% endblock %}
2022-11-16 20:12:28 -08:00
{% block content %}
<form action="." method="POST">
{% csrf_token %}
2022-11-17 16:43:00 -08:00
<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 %}
{% include "forms/_field.html" with field=form.users %}
2022-11-17 16:43:00 -08:00
</fieldset>
<fieldset>
<legend>Admin Notes</legend>
{% include "forms/_field.html" with field=form.notes %}
</fieldset>
2022-11-16 20:12:28 -08:00
<div class="buttons">
<a href="{{ domain.urls.root }}" class="button secondary left">Back</a>
2022-11-16 20:12:28 -08:00
<a href="{{ domain.urls.delete }}" class="button delete">Delete</a>
<button>Save</button>
</div>
</form>
{% endblock %}