Add template
This commit is contained in:
parent
4bee273216
commit
2d1d5b66a9
8 changed files with 727 additions and 44 deletions
10
views/tasks/index.html.tera
Normal file
10
views/tasks/index.html.tera
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% extends "layout" %}
|
||||
|
||||
{% block content %}
|
||||
<h3>Here are your items:</h3>
|
||||
<ul>
|
||||
{% for task in tasks %}
|
||||
<li>{{ task.id }} {{ task.description }} {{ task.completed }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue