takahe/templates/admin/announcement_create.html

24 lines
820 B
HTML
Raw Normal View History

{% extends "admin/base_main.html" %}
{% block subtitle %}Create Announcement{% 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>
<button>Create</button>
</div>
</form>
{% endblock %}