From 0ab3f1eba28a1ccaef772e47a03942e03c414f73 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 19 Nov 2014 03:05:22 +0100 Subject: templates/group: display pad of group --- templates/group.html | 21 +++++++++++++++++++++ views.py | 1 + 2 files changed, 22 insertions(+) diff --git a/templates/group.html b/templates/group.html index 7f90c57..0b6e383 100644 --- a/templates/group.html +++ b/templates/group.html @@ -24,6 +24,27 @@

Pads

+ {% for pad in pads %} + {% if loop.first %} + + {% endif %} + + + + + + + {% if loop.last %} +
+ {{pad}} + + +
+ {% endif %} + {% else %} +
No pads created.
+ {% endfor %} + {% if admin %}