13 lines
353 B
HTML
Raw Permalink Normal View History

2020-11-11 18:03:02 +11:00
{% extends 'base.html' %}
2020-11-11 18:03:02 +11:00
{% block header_text %}Your To-Do list{% endblock %}
{% block form_action %}/lists/{{ list.id }}/add_item{% endblock %}
{% block table %}
2020-11-11 21:06:48 +11:00
<table id="id_list_table" class="table">
2020-11-11 18:03:02 +11:00
{% for item in list.item_set.all %}
<tr><td>{{ forloop.counter }}: {{ item.text }}</td></tr>
{% endfor %}
</table>
{% endblock %}