{% extends 'base.html' %} {% block title %}Notes{% endblock %} {% load humanize %} {% block content %}
{% include 'messages.html' %}
{% if all_notes|length == 0 %}

Hi, welcome to Django Notekeeper where you can store all your notes!

You can add a new note to get started from left side menu by clicking on the sign.

{% else %}
{% for note in all_notes %} {% endfor %}
Title Last Updated Edit Delete
{{ note.note_title|truncatechars:30 }} {{ note.updated_at|naturaltime }}
{% endif %}
{% endblock %}