fixes
[wolnelektury.git] / src / wolnelektury / templates / auth / register.html
index 3252cae..6849438 100644 (file)
@@ -1,15 +1,16 @@
-{% extends "ajaxable/form.html" %}
 {% load i18n %}
 
 
-{% block extra %}
+{% include "auth/register_form.html" %}
 
-<h1>{% trans "Sign in using:" %}</h1>
+{% if USE_OPENID %}
+  <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" %}
-
-{% endblock %}
+    {% include "socialaccount/snippets/login_extra.html" %}
+  </div>
+{% endif %}