2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/portico_signup.html" %}
|
2012-11-05 19:53:16 +01:00
|
|
|
{% block portico_content %}
|
|
|
|
|
|
|
|
<div class="pitch">
|
2016-04-21 08:48:33 +02:00
|
|
|
<h3>{{ _('Reset your password') }}.</h3>
|
2012-11-05 19:53:16 +01:00
|
|
|
</div>
|
|
|
|
|
2016-04-21 08:48:33 +02:00
|
|
|
<form method="post" class="form-horizontal" action="{{ url('django.contrib.auth.views.password_reset') }}">
|
|
|
|
{{ csrf_input }}
|
2012-11-05 19:53:16 +01:00
|
|
|
<div class="control-group">
|
2016-04-21 08:48:33 +02:00
|
|
|
<label for="id_email" class="control-label">{{ _('Email') }}</label>
|
2012-11-05 19:53:16 +01:00
|
|
|
<div class="controls">
|
|
|
|
<input id="id_email" class="required" type="text" name="email"
|
2016-04-21 08:48:33 +02:00
|
|
|
value="{% if form.email.value() %}{{ form.email.value() }}{% endif %}"
|
2012-11-05 19:53:16 +01:00
|
|
|
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 %}
|