Id | Todo Item | Created | Done | Action |
---|---|---|---|---|
{{ todo.id }} | {{ todo.content }} | {%- if todo.done %} Completed {%- else %} Pending {%- endif %} | {{ todo.created_at.strftime('%d-%m-%Y') }} | Edit Delete | {%- endfor %}
{% extends "layout.html" %} {% block body %}
Id | Todo Item | Created | Done | Action |
---|---|---|---|---|
{{ todo.id }} | {{ todo.content }} | {%- if todo.done %} Completed {%- else %} Pending {%- endif %} | {{ todo.created_at.strftime('%d-%m-%Y') }} | Edit Delete | {%- endfor %}