diff --git a/abogen/web/templates/index.html b/abogen/web/templates/index.html index 93c1008..d8595d8 100644 --- a/abogen/web/templates/index.html +++ b/abogen/web/templates/index.html @@ -17,7 +17,9 @@ -{% include "partials/upload_modal.html" with pending=None, readonly=False, active_step='settings' %} +{% with pending=None, readonly=False, active_step='settings' %} + {% include "partials/upload_modal.html" %} +{% endwith %} {% include "partials/reader_modal.html" %} diff --git a/abogen/web/templates/prepare_chapters.html b/abogen/web/templates/prepare_chapters.html index 0ae0737..fbbd2d0 100644 --- a/abogen/web/templates/prepare_chapters.html +++ b/abogen/web/templates/prepare_chapters.html @@ -171,7 +171,9 @@
-{% include "partials/upload_modal.html" with pending=pending, readonly=True, active_step='chapters' %} +{% with pending=pending, readonly=True, active_step='chapters' %} + {% include "partials/upload_modal.html" %} +{% endwith %} {% endblock %} {% block scripts %} diff --git a/abogen/web/templates/prepare_speakers.html b/abogen/web/templates/prepare_speakers.html index 10d7fb0..c248681 100644 --- a/abogen/web/templates/prepare_speakers.html +++ b/abogen/web/templates/prepare_speakers.html @@ -411,7 +411,9 @@ -{% include "partials/upload_modal.html" with pending=pending, readonly=True, active_step='speakers' %} +{% with pending=pending, readonly=True, active_step='speakers' %} + {% include "partials/upload_modal.html" %} +{% endwith %} {% endblock %} {% block scripts %}