Facilitate access to the user's profile #82

Merged
Danhia merged 3 commits from :main into main 2022-10-10 21:03:10 +02:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit e304f7cd15 - Show all commits

View File

@ -92,6 +92,13 @@
{% endif %}
<li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"Y-m-d" }}</li>
</ul>
<ul class="list-group">
<form method='GET' action="{% url 'accounts:profile' user.userprofileinfo.user %}">
<li class="list-group-item">
<input class="form-control" type="submit" value="{% trans " View my profile" %}">
</li>
</form>
</ul>
<ul class="list-group">
<form method='GET' action="{% url 'accounts:delete_account' %}">
{%csrf_token%}