Commit 0d5c4af5 authored by Michal Čihař's avatar Michal Čihař

Show other registration methods as well

parent d4b2b062
......@@ -6,6 +6,8 @@
{% if registration_open %}
<h2>{% trans "Register using email" %}</h2>
{% if form.errors %}
<div class="ui-widget">
<div style="padding: 0pt 0.7em;" class="ui-state-error ui-corner-all">
......@@ -27,6 +29,16 @@
<p><input type="submit" value="{% trans 'Register' %}" class="button" /></p>
</form>
{% if registration_backends %}
<h2>{% trans "Third party registration" %}</h2>
{% for name in registration_backends %}
<a class="button" href="{% url 'social:begin' name %}?next={% url 'profile' %}">{{ name }}</a>
{% endfor %}
{% endif %}
{% else %}
<p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment