2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/portico_signup.html" %}
|
2012-11-05 19:53:16 +01:00
|
|
|
{% block portico_content %}
|
|
|
|
|
|
|
|
|
2019-03-09 16:36:49 +01:00
|
|
|
<!-- The following empty tag has unique data-page-id so that this
|
|
|
|
page can be easily identified in it's respective JavaScript file -->
|
|
|
|
<div data-page-id="reset-password"></div>
|
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-11-18 03:30:07 +01:00
|
|
|
<form method="post" class="form-horizontal" action="{{ url('zerver.views.auth.password_reset') }}">
|
2017-05-01 21:33:41 +02:00
|
|
|
{{ 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"
|
2018-04-03 10:07:23 +02:00
|
|
|
value="{% if form.email.value() %}{{ form.email.value() }}{% endif %}"
|
|
|
|
maxlength="100" required />
|
2017-05-01 21:33:41 +02:00
|
|
|
<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>
|
2018-09-24 10:12:06 +02:00
|
|
|
<button type="submit">{{ _('Send reset link') }}</button>
|
2017-05-01 21:33:41 +02:00
|
|
|
|
|
|
|
</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
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|