We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f4deaf commit 71be1f2Copy full SHA for 71be1f2
templates/index.html
@@ -55,7 +55,9 @@ <h1>Endless Task List App using Flask</h1>
55
{{ task.name }}<br />
56
Due: {{ task.due_date }}
57
</li>
58
- {% if not task.completed %}<!--show complete button if task is not completed-->
+ Priority: {% if task.priority == 1 %} Low {% elif task.priority == 2 %}
59
+ Medium {% elif task.priority == 3 %} High {% endif %} {% if not
60
+ task.completed %}<!--show complete button if task is not completed-->
61
<a href="/complete_task/{{ task.id }}">Complete</a>
62
{% endif %}
63
<a href="/delete_task/{{ task.id }}">Delete</a>
0 commit comments