simplelist is datatables-aware
[unfold.git] / plugins / templates / simplelist.html
index fb5812e..1ac9010 100644 (file)
@@ -1,10 +1,4 @@
-<table class='simplelist {%if need_datatables %}need-datatables{% endif %}'>
-{% if header %}
-<thead><tr><th>{{ header }}</th></tr></thead>
-{% endif %}
-<tbody>
-{% for item in list %}
-<tr><td>{{ item }}</td></tr>
-{% endfor %}
-</tbody>
+<table class='simplelist{%if with_datatables %} with-datatables{% endif %}'>
+{% if header %} <thead><tr><th class='simplelist'>{{ header }}</th></tr></thead> {% endif %}
+<tbody class='simplelist'></tbody>
 </table>