2012-10-04 20:40:29 +02:00
|
|
|
{% extends "zephyr/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
|
|
|
|
2012-11-07 23:27:21 +01:00
|
|
|
{% comment %}
|
|
|
|
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.
|
|
|
|
{% endcomment %}
|
|
|
|
|
2012-09-28 22:47:05 +02:00
|
|
|
<form id="register" action="/accounts/register/" method="post">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" value="{{ key }}" name="key"/>
|
|
|
|
<input type="hidden" value="1" name="from_confirmation"/>
|
|
|
|
</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 %}
|