8.6.3 Table Styling

master
Jason Zhu 2020-11-11 21:06:48 +11:00
parent f091214d3f
commit 863ed901f2
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{% block form_action %}/lists/{{ list.id }}/add_item{% endblock %} {% block form_action %}/lists/{{ list.id }}/add_item{% endblock %}
{% block table %} {% block table %}
<table id="id_list_table"> <table id="id_list_table" class="table">
{% for item in list.item_set.all %} {% for item in list.item_set.all %}
<tr><td>{{ forloop.counter }}: {{ item.text }}</td></tr> <tr><td>{{ forloop.counter }}: {{ item.text }}</td></tr>
{% endfor %} {% endfor %}