X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..3c2212f96c81ec3440c8ad8c9290786cf30327e4:/src/wolnelektury/templates/auth/login_register.html?ds=sidebyside

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 31d137cdc..50e2ea075
--- a/src/wolnelektury/templates/auth/login_register.html
+++ b/src/wolnelektury/templates/auth/login_register.html
@@ -1,21 +1,9 @@
 {% extends "auth/login.html" %}
 {% load i18n %}
 {% load honeypot %}
-{% load ssi_csrf_token from ssify %}
 
 {% block extra %}
   {{ 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 %}