summaryrefslogtreecommitdiffstats
path: root/apps/it/templates/generic_list.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-20 12:44:49 +0200
committerFilipp Lepalaan <f@230.to>2014-02-20 12:44:49 +0200
commit3321241b61766045a68a3d607b67e11a95014e87 (patch)
treed13ce50a7c46f986f403733e9922e766665e7d2b /apps/it/templates/generic_list.html
parent75ad7e4bd7d69243e7e5281c2642f00478fb072d (diff)
downloadpudding-3321241b61766045a68a3d607b67e11a95014e87.tar.gz
pudding-3321241b61766045a68a3d607b67e11a95014e87.tar.bz2
pudding-3321241b61766045a68a3d607b67e11a95014e87.zip
Require logins, removed jquery UI
Diffstat (limited to 'apps/it/templates/generic_list.html')
-rw-r--r--apps/it/templates/generic_list.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/it/templates/generic_list.html b/apps/it/templates/generic_list.html
new file mode 100644
index 0000000..af23b56
--- /dev/null
+++ b/apps/it/templates/generic_list.html
@@ -0,0 +1,24 @@
+{% extends "default.html" %}
+{% load bootstrap3 %}
+{% load i18n %}
+
+{% block main %}
+<table>
+ <tbody>
+{% for i in object_list %}
+ <tr>
+ <td>{{ i.email }}</td>
+ </tr>
+{% endfor %}
+ </tbody>
+</table>
+
+{% endblock main %}
+
+{% block inspector %}
+<form method="post" action="">
+ {% csrf_token %}
+ {% bootstrap_form form %}
+ <button class="btn btn-default btn-primary pull-right">{% trans "Add User" %}</button>
+</form>
+{% endblock inspector %}