{% extends 'layouts/base.html' %} {% block content %}

Notepad

{% if editing %}New Note{% endif %}

{{ 'Edit Note' if editing else 'New Note' }}

{% if editing %}{% endif %}

My Notes

{% for n in notes %} {% else %} {% endfor %}
TitleUpdatedActions
{{ n.title }} {% if n.pinned %}Pinned{% endif %} {% if n.content %}
{{ n.content[:80] }}{% if n.content|length > 80 %}...{% endif %}{% endif %}
{{ n.updated_at }}
No notes yet.
{% endblock %}