{% if latest_task_list %}
Here are the tasks
{% for task in latest_task_list %}
{{ task.title }} with priority {{ task.priority }}
{% endfor %}
{% else %}
There are nos tasks
{% endif %}