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