fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor doc fixes.
[wolnelektury.git]
/
src
/
wolnelektury
/
templates
/
auth
/
register.html
diff --git
a/src/wolnelektury/templates/auth/register.html
b/src/wolnelektury/templates/auth/register.html
index
0650602
..
6849438
100644
(file)
--- a/
src/wolnelektury/templates/auth/register.html
+++ b/
src/wolnelektury/templates/auth/register.html
@@
-1,25
+1,16
@@
-{% extends "ajaxable/form.html" %}
{% load i18n %}
{% 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 %}
+ <div class="form-extra">
+ <h1>{% trans "Sign in using:" %}</h1>
-{% block extra %}
+ <ul class="socialaccount_providers">
+ {% include "socialaccount/snippets/provider_list.html" %}
+ </ul>
-<h1>{% trans "Sign in using:" %}</h1>
-
-<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 %}