move code into newly created ./src/ dir
This commit is contained in:
15
src/templates/apps/dashboard/list.html
Normal file
15
src/templates/apps/dashboard/list.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "core/base.html" %}
|
||||
|
||||
{% block title_text %}Your to-do list{% endblock title_text %}
|
||||
{% block header_text %}Your to-do list{% endblock header_text %}
|
||||
|
||||
{% block form_action %}/apps/dashboard/{{ list.id }}/add-item{% endblock form_action %}
|
||||
|
||||
{% block table %}
|
||||
<table id="id-list-table" class="table">
|
||||
{% for item in list.item_set.all %}
|
||||
<tr><td>{{ forloop.counter }}. {{ item.text }}</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock table %}
|
||||
|
||||
Reference in New Issue
Block a user