feat: user management screen; allow users to edit their profile

This commit is contained in:
Herculino Trotta
2025-04-13 19:00:25 -03:00
parent 86f0c4365e
commit d807bd5da3
11 changed files with 583 additions and 9 deletions

View File

@@ -12,6 +12,11 @@
hx-target="#generic-offcanvas"
role="button">
<i class="fa-solid fa-gear me-2 fa-fw"></i>{% translate 'Settings' %}</a></li>
<li><a class="dropdown-item"
hx-get="{% url 'user_edit' pk=request.user.id %}"
hx-target="#generic-offcanvas"
role="button">
<i class="fa-solid fa-user me-2 fa-fw"></i>{% translate 'Edit profile' %}</a></li>
<li><hr class="dropdown-divider"></li>
{% spaceless %}
<li>