2023-05-04 04:42:37 +00:00
|
|
|
{% extends "admin/base_main.html" %}
|
2023-01-13 22:54:21 +00:00
|
|
|
|
|
|
|
{% block subtitle %}Announcement #{{ announcement.pk }}{% endblock %}
|
|
|
|
|
2023-05-04 04:42:37 +00:00
|
|
|
{% block settings_content %}
|
2023-01-13 22:54:21 +00:00
|
|
|
<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">
|
2023-06-14 17:15:29 +00:00
|
|
|
<a href="{{ announcement.urls.admin_root }}?page={{ page }}" class="button secondary left">Back</a>
|
2023-01-13 22:54:21 +00:00
|
|
|
<a href="{{ announcement.urls.admin_delete }}" class="button delete">Delete</a>
|
|
|
|
<button>Save</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|