mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 18:50:59 +00:00
24 lines
809 B
HTML
24 lines
809 B
HTML
|
{% extends "settings/base.html" %}
|
||
|
|
||
|
{% block subtitle %}Create Announcement{% 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>
|
||
|
<button>Create</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
{% endblock %}
|