+ {% if request.user.is_authenticated %}
+
+ {% block content_auth %} {% endblock %}
+
+ {% endif %} {% if not request.user.is_authenticated %}
+
+ {% block content_not_auth %} {% endblock %}
+
+ {% endif %}
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-{% block js %}
+{% block js %}
{% endblock %}
-
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index d5040b9..fa85786 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,14 +2,10 @@
{% load widget_tweaks %}
{% load client_tag %}
-
{% block content_not_auth %}
-