X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/04ed822e3985e1565a1d652017be4004b4ddf8f3..04bcff7bdb003dcd9740926bfc1243859b9defe4:/src/wolnelektury/templates/auth/register.html diff --git a/src/wolnelektury/templates/auth/register.html b/src/wolnelektury/templates/auth/register.html index 967fc6fa0..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 %} - - -{% block extra %} +{% include "auth/register_form.html" %} {% if USE_OPENID %} -<h1>{% trans "Sign in using:" %}</h1> + <div class="form-extra"> + <h1>{% trans "Sign in using:" %}</h1> -<ul class="socialaccount_providers"> - {% include "socialaccount/snippets/provider_list.html" %} -</ul> + <ul class="socialaccount_providers"> + {% include "socialaccount/snippets/provider_list.html" %} + </ul> -{% include "socialaccount/snippets/login_extra.html" %} + {% include "socialaccount/snippets/login_extra.html" %} + </div> {% endif %} - -{% endblock %}