numerous improvements
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="anatomy">
|
||||
<h1>Your profile</h1>
|
||||
<div>
|
||||
Username: {{ user.username }}
|
||||
</div>
|
||||
<div>
|
||||
Email: {{ user.email }}
|
||||
</div>
|
||||
<div>
|
||||
Name: {{ user.first_name }}
|
||||
{{ user.last_name }}
|
||||
</div>
|
||||
<a href="{% url 'password_change'%}">Change password</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,14 @@
|
||||
{% extends '../anatomy/base.html' %}
|
||||
|
||||
{% block title %}Login{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Login</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
<p><a href="{% url 'password_reset' %}">Reset password</a></p>
|
||||
<p><a href="{% url 'password_change' %}">Change password</a></p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user