Commits

Waldemar Kornewald  committed 06169e8

Added a few templates for password reset.

  • Participants
  • Parent commits 5d0788a

Comments (0)

Files changed (6)

File registration/templates/activation_email.txt

 Hi!
 In order to activate your account please visit the following link:
 
-http://{{site}}/accounts/activate/{{activation_key}}/
+http://{{site}}/account/activate/{{activation_key}}/
 
 Thanks,
 Your {{site}} team

File registration/templates/password_reset_complete.html

+{% extends "base.html" %}
+{% block title %}Password reset complete{% endblock %}
+
+{% block content %}
+<h1>Password reset complete</h1>
+<p>You've successfully reset your password!</p>
+{% endblock content %}

File registration/templates/password_reset_confirm.html

+{% extends "base.html" %}
+{% block title %}Confirm password reset{% endblock %}
+
+{% block content %}
+<h1>Confirm password reset</h1>
+<form action="{{ request.path }}" method="post">
+  <table>{{ form }}</table>
+  <input type="submit" value="Reset" />
+</form>
+{% endblock content %}

File registration/templates/password_reset_done.html

+{% extends "base.html" %}
+{% block title %}Reset password{% endblock %}
+
+{% block content %}
+<h1>Reset password</h1>
+<p>You've received an email with instructions for resetting your password. Please check your inbox.</p>
+{% endblock content %}

File registration/templates/password_reset_email.html

+Hi!
+In order to reset your password please visit the following link:
+
+{{protocol}}://{{domain}}/account/password/reset/confirm/{{uid}}/{{token}}/
+
+Thanks,
+Your {{site_name}} team

File registration/templates/password_reset_form.html

+{% extends "base.html" %}
+{% block title %}Reset password{% endblock %}
+
+{% block content %}
+<h1>Reset password</h1>
+<form action="{{ request.path }}" method="post">
+  <table>{{ form }}</table>
+  <input type="submit" value="Reset" />
+</form>
+{% endblock content %}