takahe/templates/admin/announcement_edit.html
Andrew Godwin 8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00

24 lines
926 B
HTML

{% extends "admin/base_main.html" %}
{% block subtitle %}Announcement #{{ announcement.pk }}{% endblock %}
{% block settings_content %}
<form action="." method="POST">
{% csrf_token %}
<fieldset>
<legend>Announcement</legend>
{% include "forms/_field.html" with field=form.text %}
</fieldset>
<fieldset>
<legend>Visibility</legend>
{% include "forms/_field.html" with field=form.published %}
{% include "forms/_field.html" with field=form.start %}
{% include "forms/_field.html" with field=form.end %}
</fieldset>
<div class="buttons">
<a href="{{ announcement.urls.admin_root }}" class="button secondary left">Back</a>
<a href="{{ announcement.urls.admin_delete }}" class="button delete">Delete</a>
<button>Save</button>
</div>
</form>
{% endblock %}