Add profile page

This commit is contained in:
2025-12-12 10:54:04 +05:30
parent 495dfe7b8e
commit 07dcb72deb
5 changed files with 47 additions and 7 deletions

View File

@@ -13,7 +13,7 @@
<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="#">
<a href="{% url "profile" %}">
<img src="{% static "notes/images/icons/profile.png" %}" alt="Profile" title="Profile" />
</a>
</header>

View File

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