Files
zulip/templates/zephyr/reset.html
Tim Abbott 4a91b4a1ea [django 1.5] Use new-style url syntax in templates.
Checked using the following (relevant for rebasing):

git grep url templates/ | grep -v "'django" | grep -v "'zephyr"

This appears to not have a good backwards-compatability story (well,
there is one involving a %load from the future, but it seems to not
work).

(imported from commit d740831658aa23cadbbb82082ac6a3738d449a1d)
2013-03-27 08:19:26 -04:00

37 lines
1.1 KiB
HTML

{% extends "zephyr/portico_signup.html" %}
{% block portico_content %}
<div class="pitch">
<hr/>
<h3>Reset your password.</h3>
</div>
<form method="post" class="form-horizontal" action="{% url 'django.contrib.auth.views.password_reset' %}">
{% csrf_token %}
<div class="control-group">
<label for="id_email" class="control-label">Email</label>
<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 %}