aboutsummaryrefslogtreecommitdiff
path: root/templates/note.twig
blob: cb0b6d8ca5d99ca8ce39406b9fb7ef86630300c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "skeleton.twig" %}
{% import "macros.twig" as macros %}
{% block body %}
    <form action="{{ url("n/%s", note.id) }}" method="post" enctype="multipart/form-data">
        {{ macros.note_form_content(note) }}
        <button type="submit">Save</button>
        <button
                type="submit"
                name="delete"
                value="delete"
                class="confirm"
                data-question="Do you really want to delete the note?"
        >Delete</button>
    </form>
{% endblock %}