aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/admin/dashboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/admin/dashboard.html')
-rw-r--r--pyaggr3g470r/templates/admin/dashboard.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html
index b15097d5..911ce670 100644
--- a/pyaggr3g470r/templates/admin/dashboard.html
+++ b/pyaggr3g470r/templates/admin/dashboard.html
@@ -40,7 +40,19 @@
{% endfor %}
</tbody>
</table>
-<br />
<a href="/admin/create_user/" class="btn btn-default">{{ _('Add a new user') }}</a>
+<h1>{{ _('Send notification messages') }}</h1>
+<form action="" method="post">
+ {{ form.hidden_tag() }}
+
+ {{ form.subject.label }}
+ {{ form.subject(class_="form-control") }} {% for error in form.subject.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+
+ {{ form.message.label }}
+ {{ form.message(class_="form-control", rows=8) }} {% for error in form.message.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
+
+ <br />
+ {{ form.submit(class_="btn") }}
+</form>
</div>
{% endblock %}
bgstack15