Created
August 27, 2015 15:47
-
-
Save prettydiff/972b8c59d898e74e4084 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'todo_lists/base.html' %} | |
{% block header_text %}Your to-do list{% endblock %} | |
{% block form_action %}/lists/{{ list.id }}/add_todo_item{% endblock %} | |
{% block table %} | |
<table id="id_todo_list_table"> | |
{% for item in list.todoitem_set.all %} | |
{ # comment # } | |
{# comment #} | |
<tr> | |
<td>{{ forloop.counter }}: {{ item.text }}</td> | |
</tr> | |
{% endfor %} | |
</table> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment