2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/portico_signup.html" %}
|
2015-11-03 09:37:07 +01:00
|
|
|
{% load i18n %}
|
2012-11-05 19:53:16 +01:00
|
|
|
{% block portico_content %}
|
|
|
|
|
|
|
|
<div class="pitch">
|
2015-11-03 09:37:07 +01:00
|
|
|
<h3>{% trans 'Reset your password' %}.</h3>
|
2012-11-05 19:53:16 +01:00
|
|
|
</div>
|
|
|
|
|
2013-03-07 23:05:31 +01:00
|
|
|
<form method="post" class="form-horizontal" action="{% url 'django.contrib.auth.views.password_reset' %}">
|
2012-11-05 19:53:16 +01:00
|
|
|
{% csrf_token %}
|
|
|
|
<div class="control-group">
|
2015-11-03 09:37:07 +01:00
|
|
|
<label for="id_email" class="control-label">{% trans 'Email' %}</label>
|
2012-11-05 19:53:16 +01:00
|
|
|
<div class="controls">
|
|
|
|
<input id="id_email" class="required" type="text" name="email"
|
|
|
|
value="{% if form.email.value %}{{ form.email.value }}{% endif %}"
|
|
|
|
maxlength="100" />
|
|
|
|
{% if form.email.errors %}
|
|
|
|
{% for error in form.email.errors %}
|
|
|
|
<div class="alert alert-error">{{ error }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<input type="submit" class="btn btn-primary" value="Reset password" /><br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
autofocus('#id_email');
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|