2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/portico_signup.html" %}
|
2012-11-05 19:53:16 +01:00
|
|
|
{% block portico_content %}
|
|
|
|
|
|
|
|
|
2017-05-01 21:33:41 +02:00
|
|
|
<div class="flex new-style app portico-page">
|
|
|
|
<div class="inline-block">
|
|
|
|
<div class="lead">
|
|
|
|
<h1 class="get-started">{{ _('Reset your password') }}</h1>
|
|
|
|
</div>
|
2017-04-20 21:02:56 +02:00
|
|
|
|
2017-05-03 19:48:52 +02:00
|
|
|
<div class="app-main forgot-password-container white-box new-style">
|
2017-05-01 21:33:41 +02:00
|
|
|
|
|
|
|
<p>Forgot your password? No problem, we'll send a link to reset your password to the email you signed up with.</p>
|
2017-04-20 21:02:56 +02:00
|
|
|
|
2017-05-01 21:33:41 +02:00
|
|
|
<form method="post" class="form-horizontal" action="{{ url('django.contrib.auth.views.password_reset') }}">
|
|
|
|
{{ csrf_input }}
|
|
|
|
<div class="new-style">
|
|
|
|
<div class="input-box horizontal moving-label">
|
|
|
|
<div class="inline-block relative">
|
|
|
|
<input id="id_email" class="required" type="text" name="email"
|
|
|
|
value="{% if form.email.value() %}{{ form.email.value() }}{% endif %}"
|
|
|
|
maxlength="100" required />
|
|
|
|
<label for="id_email" class="">{{ _('Email') }}</label>
|
|
|
|
{% if form.email.errors %}
|
|
|
|
{% for error in form.email.errors %}
|
|
|
|
<div class="alert alert-error">{{ error }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<button type="submit">{{ _('Reset password') }}</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2017-10-01 13:07:53 +02:00
|
|
|
<div class="actions if-zulip-electron"><!-- only show if on `ZulipElectron` -->
|
|
|
|
<a class="back-to-login" href="{{login_url}}"><i class="fa fa-arrow-left"></i> Back to the login page</a>
|
|
|
|
</div>
|
2012-11-05 19:53:16 +01:00
|
|
|
</div>
|
2017-05-01 21:33:41 +02:00
|
|
|
</div>
|
2017-04-20 21:02:56 +02:00
|
|
|
</div>
|
2012-11-05 19:53:16 +01:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
2017-06-22 22:08:43 +02:00
|
|
|
common.autofocus('#id_email');
|
2012-11-05 19:53:16 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|