X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/45696bbb638e45271f2c108616f7a9427cf87f7d..159b148e9d37274930d6c0f76c365d333f16fd87:/src/wolnelektury/templates/auth/register.html?ds=sidebyside diff --git a/src/wolnelektury/templates/auth/register.html b/src/wolnelektury/templates/auth/register.html index 0650602f2..684943866 100644 --- a/src/wolnelektury/templates/auth/register.html +++ b/src/wolnelektury/templates/auth/register.html @@ -1,25 +1,16 @@ -{% extends "ajaxable/form.html" %} {% load i18n %} -{% load ajaxable_tags %} -{% block form_fields %} - {{ form.username|pretty_field }} - {{ form.email|pretty_field }} - {{ form.password1|pretty_field }} - {{ form.password2|pretty_field }} - {{ form.agree_newsletter|pretty_checkbox }} -{% endblock %} +{% include "auth/register_form.html" %} +{% if USE_OPENID %} +
+

{% trans "Sign in using:" %}

-{% block extra %} + -

{% trans "Sign in using:" %}

- - - -{% include "socialaccount/snippets/login_extra.html" %} - -{% endblock %} + {% include "socialaccount/snippets/login_extra.html" %} +
+{% endif %}