From 2207a7db83e85abf1d4cfe88a1c340e1332533f3 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 20 May 2014 07:44:28 +0200 Subject: Send notification messages to platform users. --- pyaggr3g470r/templates/admin/dashboard.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/admin') 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 %} -
{{ _('Add a new user') }} +

{{ _('Send notification messages') }}

+
+ {{ form.hidden_tag() }} + + {{ form.subject.label }} + {{ form.subject(class_="form-control") }} {% for error in form.subject.errors %} {{ error }}
{% endfor %} + + {{ form.message.label }} + {{ form.message(class_="form-control", rows=8) }} {% for error in form.message.errors %} {{ error }}
{% endfor %} + +
+ {{ form.submit(class_="btn") }} +
{% endblock %} -- cgit