diff --git a/templates/base.html b/templates/base.html index fc69dbe..848df44 100644 --- a/templates/base.html +++ b/templates/base.html @@ -212,6 +212,7 @@ - + {% if session.get('user_id') %} + - + {% else %} + + + + {% endif %} diff --git a/templates/login.html b/templates/login.html index f8c7ae6..ac23667 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,7 +1,18 @@ {% extends "base.html" %} +{% block head %} + +{% endblock %} {% block content %}
-
+
diff --git a/templates/register.html b/templates/register.html index ecee7e9..c19a01a 100644 --- a/templates/register.html +++ b/templates/register.html @@ -1,7 +1,18 @@ {% extends "base.html" %} +{% block head %} + +{% endblock %} {% block content %}
-
+