2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
2012-09-28 22:47:05 +02:00
|
|
|
|
2012-10-04 20:40:29 +02:00
|
|
|
{% block content %}
|
2012-09-28 22:47:05 +02:00
|
|
|
|
2016-04-21 08:48:33 +02:00
|
|
|
{#
|
2012-11-07 23:27:21 +01:00
|
|
|
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.
|
2016-04-21 08:48:33 +02:00
|
|
|
#}
|
2012-11-07 23:27:21 +01:00
|
|
|
|
2012-09-28 22:47:05 +02:00
|
|
|
<form id="register" action="/accounts/register/" method="post">
|
2016-04-21 08:48:33 +02:00
|
|
|
{{ csrf_input }}
|
2012-09-28 22:47:05 +02:00
|
|
|
<input type="hidden" value="{{ key }}" name="key"/>
|
|
|
|
<input type="hidden" value="1" name="from_confirmation"/>
|
2013-11-05 22:13:59 +01:00
|
|
|
<input type="hidden" value="{% if full_name %}{{ full_name }}{% endif %}" name="full_name"/>
|
2012-09-28 22:47:05 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2012-11-26 19:51:46 +01:00
|
|
|
$(function () {
|
|
|
|
$("#register").submit();
|
|
|
|
});
|
2012-09-28 22:47:05 +02:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|