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-10-13 14:31:53 +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') }}">
|
2017-02-24 16:42:13 +01:00
|
|
|
{{ 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 %}
|
2017-02-24 16:42:13 +01:00
|
|
|
<div class="alert alert-error">{{ error }}</div>
|
2012-11-05 19:53:16 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2016-12-30 18:51:52 +01:00
|
|
|
<input type="submit" class="btn btn-primary" value="{{ _('Reset password') }}" /><br />
|
2012-11-05 19:53:16 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
autofocus('#id_email');
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|