diff --git a/gallery/templates/groups/group.html b/gallery/templates/groups/group.html index 3f388c8..66df5da 100644 --- a/gallery/templates/groups/group.html +++ b/gallery/templates/groups/group.html @@ -53,7 +53,7 @@ {% endif %} -
+ @@ -83,32 +83,3 @@ {% endif %} {% endblock %} - -{% block script %} - -{% endblock %} \ No newline at end of file diff --git a/gallery/templates/layout.html b/gallery/templates/layout.html index 6c82af7..b6bf41c 100644 --- a/gallery/templates/layout.html +++ b/gallery/templates/layout.html @@ -28,6 +28,10 @@ {% assets "js_pre" %} {% endassets %} + + {% assets "js_post" %} + + {% endassets %} {% assets "styles" %} @@ -150,11 +154,7 @@ {% for message in get_flashed_messages() %} addNotification('{{ message[0] }}', {{ message[1] }}); {% endfor %} - - - {% assets "js_post" %} - - {% endassets %} + {% block script %}{% endblock %}