forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.html
More file actions
34 lines (27 loc) · 1.24 KB
/
main.html
File metadata and controls
34 lines (27 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends "base_site.html" %}
{% block title %}Announcement{% endblock %}
{% block breadcrumbs %}{{ block.super }}
» Announcement
{% endblock %}
{% block content %}
<div class="module">
<h2>Announcement</h2>
<form action="" method="post">{% csrf_token %}
<table class="new-style full-width amstable" id="announce-table">
{% if form.non_field_errors %}{{ form.non_field_errors }}{% endif %}
{% for field in form.visible_fields %}
<tr>
<th>{{ 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 %}
</table>
<div class="button-group">
<ul id="announcement-button-list">
<li><button type="submit" name="submit" value="Continue">Continue</button></li>
<li><button onclick="window.location='../'" value="Cancel">Cancel</button></li>
</ul>
</div> <!-- button-group -->
</form>
</div> <!-- module -->
{% endblock %}