X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/652e2d66d7f88cc6b857edc4aaac7e14a654eb36..ba83b8311a93602de7f733c9a9e183e3ebbb006c:/src/wolnelektury/templates/auth/register.html diff --git a/src/wolnelektury/templates/auth/register.html b/src/wolnelektury/templates/auth/register.html index fef1f19de..684943866 100644 --- a/src/wolnelektury/templates/auth/register.html +++ b/src/wolnelektury/templates/auth/register.html @@ -1,27 +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 %} + -{% comment %} -

{% trans "Sign in using:" %}

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