push notifications
[wolnelektury.git] / src / push / templates / push / notification_form.html
diff --git a/src/push/templates/push/notification_form.html b/src/push/templates/push/notification_form.html
new file mode 100644 (file)
index 0000000..e926c92
--- /dev/null
@@ -0,0 +1,17 @@
+{% extends "base/base.html" %}
+{% load i18n %}
+
+{% block titleextra %}{% trans "Notifications" %}{% endblock %}
+
+
+{% block body %}
+  <h1>Wyślij powiadomienie</h1>
+
+  <form method="post" class="submit-form" action="" enctype="multipart/form-data">
+    {% csrf_token %}
+    <table>
+      {{ form.as_table }}
+      <tr><td></td><td><button type="submit">Wyślij</button></td></tr>
+    </table>
+  </form>
+{% endblock %}
\ No newline at end of file