Add Post a Note page

This commit is contained in:
2025-12-10 19:21:57 +05:30
parent 27aac4da8c
commit 495dfe7b8e
5 changed files with 45 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
<body>
<header>
<a href="{% url "home" %}" class="home">Appunti</a>
<a href="#">
<a href="{% url "post-a-note" %}">
<img src="{% static "notes/images/icons/post-a-note.png" %}" alt="Post a note" title="Post a note" />
</a>
<a href="#">

View File

@@ -0,0 +1,11 @@
{% extends "notes/base.html" %}
{% block title %}Post a Note{% endblock %}
{% block body %}
<h1>Post a Note</h1>
<form method="post">{% csrf_token %}
{{ form.as_p }}
<button type="submit">Post!</button>
</form>
{% endblock %}