X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e7d557155e2cd195f975e4559c353be5f28d7d66..a0fa09c8c73de6236ccf296d5b54cb08ed5e97e4:/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 %}