29 lines
761 B
HTML
29 lines
761 B
HTML
{% extends "registration/registration_base.html" %}
|
|
|
|
{% block title %}Register for an account{% endblock %}
|
|
|
|
{% block doccontent %}
|
|
{% if not user.is_authenticated %}
|
|
|
|
<h3>Sign up for a Unglue.it account:</h3>
|
|
|
|
<form method='post' action=''>{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="Send activation email" />
|
|
</form>
|
|
|
|
<div>
|
|
<div class="google_signup">
|
|
<h3>Or use an account you already have:</h3>
|
|
<a href="/socialauth/login/google?next=/"><img src="{{ STATIC_URL }}images/auth/google_32_noborder.png"><div>Sign in with Google</div></a>
|
|
</div>
|
|
{% else %}
|
|
<div>
|
|
You are already logged in as <a href="{% url supporter supporter_username=user.username %}">{{ user.username }}</a>.
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|