X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/45696bbb638e45271f2c108616f7a9427cf87f7d..bdeaede8f190381a903e031b95df9442644e89e3:/src/wolnelektury/templates/auth/register.html 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 %}