rewrite simplelist to use a table (thus datatable-ready) instead of <ul> -- ctd
[unfold.git] / plugins / templates / simplelist.html
1 <table class='simplelist{%if with_datatables %} with-datatables{% endif %}'>
2 {% if header %}
3 <thead><tr><th class='simplelist'>{{ header }}</th></tr></thead>
4 {% endif %}
5 <tbody class='simplelist'>
6 {% for item in list %}
7 <tr><td>{{ item|safe }}</td></tr>
8 {% endfor %}
9 </tbody>
10 </table>