summaryrefslogtreecommitdiffstats
path: root/apps/it/templates/generic_list.html
diff options
context:
space:
mode:
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 %}