Skip to content

Commit

Permalink
Add 'forgotten password' link to the 'change password' page.
Browse files Browse the repository at this point in the history
  • Loading branch information
rinklejain authored and amplifi committed Mar 22, 2017
1 parent 4003791 commit 43311b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cadasta/core/static/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions cadasta/templates/allauth/account/password_change.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ <h1>{% trans "Change your password" %}</h1>
<label class="control-label" for="id_oldpassword">{% trans "Current password" %}</label>
{% render_field form.oldpassword class+="form-control input-lg" placeholder="" data-parsley-required="true" %}
<div class="error-block">{{ form.oldpassword.errors }}</div>
</div>

<div class="small pull-right">
<a href="{% url 'account_reset_password' %}">
{% trans "Forgotten password?" %}
</a>
</div>
</div>
<div class="form-group{% if form.password1.errors %} has-error{% endif %}">
<label class="control-label" for="id_password1">{% trans "Enter a new password" %}</label>
<div class="input-group input-group-lg">
Expand Down

0 comments on commit 43311b4

Please sign in to comment.