X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..6a41571eecb01fc448e4d5d6a9d3059523988f18:/src/wolnelektury/templates/auth/login_register.html

diff --git a/src/wolnelektury/templates/auth/login_register.html b/src/wolnelektury/templates/auth/login_register.html
old mode 100755
new mode 100644
index 80d3d232a..50e2ea075
--- a/src/wolnelektury/templates/auth/login_register.html
+++ b/src/wolnelektury/templates/auth/login_register.html
@@ -1,24 +1,9 @@
 {% extends "auth/login.html" %}
 {% load i18n %}
 {% load honeypot %}
-{% load ssi_csrf_token from ssify %}
 
 {% block extra %}
+  {{ block.super }}
 
-{{ block.super }}
-
-<h1>{% trans "or register" %}:</h1>
-
-<form action="{% url 'register' %}" method="post" accept-charset="utf-8"
-	class="cuteform hidelabels">
-{% ssi_csrf_token %}
-{% render_honeypot_field %}
-<ol>
-    <div id="id_register-__all__"></div>
-    {{ register_form.as_ul }}
-    <li><input type="submit" value="{{ register_submit }}"/></li>
-</ol>
-</form>
-
-
+  {% include "auth/register_form.html" with form=register_form title=_("or register") action_url='register' action_query=request.GET.urlencode honeypot=True submit=register_submit %}
 {% endblock %}