mirror of https://github.com/zulip/zulip.git
66 lines
2.7 KiB
HTML
66 lines
2.7 KiB
HTML
{% extends "zerver/portico_signup.html" %}
|
|
|
|
{% block portico_content %}
|
|
<div class="app register-page">
|
|
<div class="app-main confirm-continue-page-container">
|
|
<div class="center-container">
|
|
<div class="center-block">
|
|
<div class="register-form new-style">
|
|
<p class="lead">
|
|
<div class="register-page-header">{{ _("Zulip account not found.") }}</div>
|
|
</p>
|
|
<br />
|
|
{% if invalid_email %}
|
|
{# If the email address is invalid, we can't send the user #}
|
|
{# to the preregistered user code path. #}
|
|
<p>
|
|
{% trans %}
|
|
Please click the following button if you wish to register.
|
|
{% endtrans %}
|
|
</p>
|
|
<a href='/register/' class="button-new sea-green">Register</a>
|
|
{% else %}
|
|
<p>
|
|
{% trans %}
|
|
|
|
No account found for {{ email }}. Would you like to register instead?
|
|
|
|
{% endtrans %}
|
|
</p>
|
|
<div style="text-align: left;">
|
|
<form class="form-inline" id="send_confirm" name="send_confirm"
|
|
action="/login/" method="post">
|
|
{{ csrf_input }}
|
|
<input type="hidden"
|
|
id="email"
|
|
name="email"
|
|
value="{{ email }}" />
|
|
<button>
|
|
{{ _("Go back to login") }}
|
|
</button>
|
|
</form>
|
|
{# TODO: Ideally, this should use whatever auth #}
|
|
{# method the user had used to get here, not just #}
|
|
{# send an email. #}
|
|
<form class="form-inline" id="send_confirm" name="send_confirm"
|
|
action="/register/" method="post">
|
|
{{ csrf_input }}
|
|
<input type="hidden"
|
|
id="email"
|
|
name="email"
|
|
value="{{ email }}" />
|
|
<button class="outline">
|
|
{{ _("Register instead") }}
|
|
</button>
|
|
</form>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer-padder"></div>
|
|
</div>
|
|
|
|
{% endblock %}
|