X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/45696bbb638e45271f2c108616f7a9427cf87f7d..891c65c58eef499c1ffc3a5fe690e1b6bff0f0db:/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 %}