diff --git a/LL1_Academy/templates/LL1_Academy/index.html b/LL1_Academy/templates/LL1_Academy/index.html index a8b21fb..071899f 100644 --- a/LL1_Academy/templates/LL1_Academy/index.html +++ b/LL1_Academy/templates/LL1_Academy/index.html @@ -10,19 +10,26 @@

LL(1) Academy

{% if user.is_authenticated %} -

Welcome back {{ user.username }}!

+ {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %}

Welcome back {{ user.username }}!

or logout + {% else %} {% block login_error %} {% endblock %} {% if messages %} {% for message in messages %}

- {{ message }} + {{ message }}

{% endfor %} {% endif %} diff --git a/LL1_Academy/templates/LL1_Academy/practice.html b/LL1_Academy/templates/LL1_Academy/practice.html index 0edb412..ae34878 100644 --- a/LL1_Academy/templates/LL1_Academy/practice.html +++ b/LL1_Academy/templates/LL1_Academy/practice.html @@ -125,7 +125,7 @@

Consider the grammar

diff --git a/LL1_Academy/templates/LL1_Academy/profile.html b/LL1_Academy/templates/LL1_Academy/profile.html index a8dc18c..82efe50 100644 --- a/LL1_Academy/templates/LL1_Academy/profile.html +++ b/LL1_Academy/templates/LL1_Academy/profile.html @@ -109,6 +109,7 @@

Skipped Grammars

{% if messages %} {% for message in messages %} + {% if not message.tags == "success" %} + {% endif %} {% endfor %} {% endif %} {% endblock %} diff --git a/LL1_Academy/templates/LL1_Academy/tutorial.html b/LL1_Academy/templates/LL1_Academy/tutorial.html index f3b0887..09bf190 100644 --- a/LL1_Academy/templates/LL1_Academy/tutorial.html +++ b/LL1_Academy/templates/LL1_Academy/tutorial.html @@ -186,7 +186,7 @@

Questions