25 lines
915 B
HTML
25 lines
915 B
HTML
|
{% extends "settings/base.html" %}
|
||
|
|
||
|
{% block subtitle %}Announcement #{{ announcement.pk }}{% endblock %}
|
||
|
|
||
|
{% block 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 %}
|