-
- {% for message in messages %}
-
-
+ {% for message in messages %}
+
diff --git a/readthedocs/templates/401.html b/readthedocs/templates/401.html index 6df1ba860f4..d9d818be0da 100644 --- a/readthedocs/templates/401.html +++ b/readthedocs/templates/401.html @@ -10,6 +10,8 @@ {% include "error_header.html" %} {% endblock %} +{% block notify %}{% endblock %} + {# Hide the language select form so we don't set a CSRF cookie #} {% block language-select-form %}{% endblock %} diff --git a/readthedocs/templates/404.html b/readthedocs/templates/404.html index 6a14db51bb8..97330784675 100644 --- a/readthedocs/templates/404.html +++ b/readthedocs/templates/404.html @@ -10,6 +10,8 @@ {% include "error_header.html" %} {% endblock %} +{% block notify %}{% endblock %} + {# Hide the language select form so we don't set a CSRF cookie #} {% block language-select-form %}{% endblock %} diff --git a/readthedocs/templates/500.html b/readthedocs/templates/500.html index 8f198a39481..70693b5ea3a 100644 --- a/readthedocs/templates/500.html +++ b/readthedocs/templates/500.html @@ -1,13 +1,15 @@ {% extends "base.html" %} {% load i18n %} - {% block title %} - {% trans "Server Error" %} - {% endblock %} +{% block title %} + {% trans "Server Error" %} +{% endblock %} + +{% block header-wrapper %} + {% include "error_header.html" %} +{% endblock %} - {% block header-wrapper %} - {% include "error_header.html" %} - {% endblock %} +{% block notify %}{% endblock %} {# Hide the language select form so we don't set a CSRF cookie #} {% block language-select-form %}{% endblock %} diff --git a/readthedocs/templates/base.html b/readthedocs/templates/base.html index dd8b41963be..57d80a18f52 100644 --- a/readthedocs/templates/base.html +++ b/readthedocs/templates/base.html @@ -84,15 +84,19 @@