home · contact · privacy
Add titles and other metadata to pages.
[plomtask] / templates / conditions.html
index e2c4ec1ff7ff99be52c19903afe141a34fc11f12..88d1cc7244a32e91b7265c4f715af6a9161ebbe8 100644 (file)
@@ -1,12 +1,23 @@
 {% extends '_base.html' %}
 
 {% block content %}
-<a href="condition">add</a>
-<ul>
+<h3>conditions</h3>
+
+<table>
+<tr>
+<th>active</th>
+<th>title</th>
+</tr>
 {% for condition in conditions %}
-<li><a href="condition?id={{condition.id_}}">{{condition.title.newest}}</a>
+<tr>
+<td>[{% if condition.is_active %}X{% else %} {% endif %}]</td>
+<td><a href="condition?id={{condition.id_}}">{{condition.title.newest}}</a></td>
+</tr>
 {% endfor %}
-</ul>
-{% endblock %}
+</table>
 
+<p>
+<a href="condition">add</a>
+</p>
 
+{% endblock %}