Added password reset links in 2 places; on the login form and in the User menu -- it's not been really easy to find that page.

- Legacy-Id: 12638
This commit is contained in:
Henrik Levkowetz 2017-01-10 14:14:07 +00:00
parent 334445d0d0
commit fef0060251
2 changed files with 11 additions and 1 deletions

View file

@ -19,6 +19,7 @@
<li><a rel="nofollow" href="/accounts/profile/">Edit profile</a></li>
{% else %}
<li><a rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a></li>
<li><a rel="nofollow" href="/accounts/reset/">Password reset</a></li>
{% endif %}
{% endif %}

View file

@ -15,7 +15,16 @@
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Sign in</button>
<table class="col-md-12">
<tr>
<td >
<button type="submit" class="btn btn-primary">Sign in</button>
</td>
<td >
Forgot your password? <a href="{% url 'ietf.ietfauth.views.password_reset' %}">Request a reset</a>.
</td>
</tr>
</table>
{% endbuttons %}
</form>