zulip/templates/confirmation/confirm_preregistrationuser.html
Anders Kaseorg fda70a5458 templates: Use just one webpack entry point per page.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-10-28 15:53:15 -07:00

20 lines
665 B
HTML

{% extends "zerver/base.html" %}
{% set entrypoint = "confirm-preregistrationuser" %}
{% block content %}
{#
This template is referenced by the confirmation code and does not have the
requisite context to make a useful signup form. Therefore, we immediately
post to another view which executes in our code to produce the desired form.
#}
<form id="register" action="/accounts/register/" method="post">
{{ csrf_input }}
<input type="hidden" value="{{ key }}" name="key"/>
<input type="hidden" value="1" name="from_confirmation"/>
<input type="hidden" value="{% if full_name %}{{ full_name }}{% endif %}" name="full_name"/>
</form>
{% endblock %}