diff --git a/src/ttfrog/themes/default/base.html b/src/ttfrog/themes/default/base.html index 7b54c83..c275b00 100644 --- a/src/ttfrog/themes/default/base.html +++ b/src/ttfrog/themes/default/base.html @@ -3,7 +3,7 @@ {% block title %}TTFROG{% endblock %} - + {% block styles %} {% endblock %} @@ -22,9 +22,9 @@
{% for message in g.messages %} -
+
{{ message }} -
+ {% endfor %} {% block content %}{% endblock %}
@@ -36,7 +36,6 @@ {% endblock %} - {% block scripts %}{% endblock %} diff --git a/src/ttfrog/themes/default/page.html b/src/ttfrog/themes/default/page.html index 4b50d45..83126a3 100644 --- a/src/ttfrog/themes/default/page.html +++ b/src/ttfrog/themes/default/page.html @@ -11,13 +11,13 @@ {% block scripts %} - - - + + + {% if user.can_write(page) %} - - - + + + {% endif %}