diff --git a/app/views/layout.html b/app/views/layout.html
index c5d8942beb..e7f332ba54 100644
--- a/app/views/layout.html
+++ b/app/views/layout.html
@@ -47,6 +47,9 @@
{% endblock %}
{% block body_end %}
- {% include "includes/scripts.html" %}
+ {% block scripts %}
+ {% include "includes/scripts.html" %}
+ {% block page_scripts %}{% endblock %}
+ {% endblock %}
{% endblock %}