37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
{% extends "base_site.html" %}
|
|
|
|
{% block title %}Announcement{% endblock %}
|
|
|
|
{% block breadcrumbs %}{{ block.super }}
|
|
» Announcement
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="module">
|
|
<h2>Announcement</h2>
|
|
|
|
<form method="post">{% csrf_token %}
|
|
<table class="new-style full-width amstable" id="announce-table">
|
|
<tbody>
|
|
{% if form.non_field_errors %}{{ form.non_field_errors }}{% endif %}
|
|
{% for field in form.visible_fields %}
|
|
<tr>
|
|
<th scope="row">{{ field.label_tag }}{% if field.field.required %}<span class="required"> *</span>{% endif %}</th>
|
|
<td>{{ field.errors }}{{ field }}{% if field.help_text %}<br>{{ field.help_text }}{% endif %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<div class="button-group">
|
|
<ul id="announcement-button-list">
|
|
<li><button type="submit" name="submit" value="Continue">Continue</button></li>
|
|
<li><button type="button" onclick="window.location='../'" value="Cancel">Cancel</button></li>
|
|
</ul>
|
|
</div> <!-- button-group -->
|
|
|
|
</form>
|
|
</div> <!-- module -->
|
|
|
|
{% endblock %}
|