email invites 0.8.1 added script vars to signup.html, check diff

This commit is contained in:
Johnson Chetty 2012-12-14 13:57:40 +01:00
parent 9b7ccda4dd
commit dc543988b2

View File

@ -14,8 +14,15 @@
<form class="signup" id="signup_form" method="post" action="{% url account_signup %}">
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<script>
var fn= "{{ request.session.invitee_first_name }}"
var ln= "{{ request.session.invitee_last_name }}"
var email= "{{ request.session.invitee_email }}"
</script>
{% if request.session.invite_code %}
<input type="hidden" name="icode" value="{{ request.session.invite_code }}" />
{% endif %}