2023-05-03 21:42:37 -07:00
|
|
|
{% extends "admin/base_main.html" %}
|
2023-01-13 14:54:21 -08:00
|
|
|
|
|
|
|
{% block subtitle %}Create Announcement{% endblock %}
|
|
|
|
|
2023-05-03 21:42:37 -07:00
|
|
|
{% block settings_content %}
|
2023-01-13 14:54:21 -08: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">
|
|
|
|
<a href="{{ announcement.urls.admin_root }}" class="button secondary left">Back</a>
|
|
|
|
<button>Create</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|