mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
Adds HTML title elements to templates that extend either `base.html`, `portico.html` or `portico_signup.html`, and that are not website portico landing pages that will use the `PAGE_TITLE` variable to set the HTML title element (see following commit in series). Also, updates some templates for missing translation tags. As a general rule, we want the title element (and page content) translated. Exceptions that are updated in this commit are templates used in the development environment, analytics templates that are used by staff and templates related to Zephyr.
46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
{% extends "zerver/portico_signup.html" %}
|
|
|
|
{% block title %}
|
|
<title>{{ _("Reset your password") }} | Zulip</title>
|
|
{% endblock %}
|
|
|
|
{% block portico_content %}
|
|
|
|
<div class="flex new-style app portico-page">
|
|
<div class="inline-block">
|
|
<div class="lead">
|
|
<h1 class="get-started">{{ _('Reset your password') }}</h1>
|
|
</div>
|
|
|
|
<div class="app-main forgot-password-container white-box new-style">
|
|
|
|
<p>Forgot your password? No problem, we'll send a link to reset your password to the email you signed up with.</p>
|
|
|
|
<form method="post" class="form-horizontal" action="{{ url('password_reset') }}">
|
|
{{ csrf_input }}
|
|
<div class="new-style">
|
|
<div class="input-box horizontal">
|
|
<div class="inline-block relative">
|
|
<label for="id_email" class="">{{ _('Email') }}</label>
|
|
<input id="id_email" class="required" type="text" name="email"
|
|
value="{% if form.email.value() %}{{ form.email.value() }}{% endif %}"
|
|
maxlength="100" placeholder="{{ _("Enter your email address") }}" autofocus required />
|
|
{% if form.email.errors %}
|
|
{% for error in form.email.errors %}
|
|
<div class="alert alert-error">{{ error }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
<button type="submit">{{ _('Send reset link') }}</button>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% include 'zerver/include/back_to_login_component.html' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|