rewrite simplelist to use a table (thus datatable-ready) instead of <ul> -- ctd
[myslice.git] / plugins / templates / simplelist.html
index 39c0298..4132c4c 100644 (file)
@@ -1,8 +1,8 @@
-<table class='simplelist {%if with_datatables %}with-datatables{% endif %}'>
+<table class='simplelist{%if with_datatables %} with-datatables{% endif %}'>
 {% if header %}
-<thead><tr><th>{{ header }}</th></tr></thead>
+<thead><tr><th class='simplelist'>{{ header }}</th></tr></thead>
 {% endif %}
-<tbody>
+<tbody class='simplelist'>
 {% for item in list %}
 <tr><td>{{ item|safe }}</td></tr>
 {% endfor %}