From 50f0dd83857d824ebf808ef252d3c614428c9dfb Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sat, 5 Nov 2022 18:04:22 +0100 Subject: Add stories filter form JS --- templates/base.html | 2 ++ templates/stories.html | 13 ++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index ab83cfb..025f1d9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -23,6 +23,8 @@ + {% block jsfile %} + {% endblock jsfile %} diff --git a/templates/stories.html b/templates/stories.html index e342c02..431453c 100644 --- a/templates/stories.html +++ b/templates/stories.html @@ -4,21 +4,19 @@
- {% for work in works | unique(attribute="language") %} {% endfor %} - - {% for work in works | unique(attribute="story_type") %} {% endfor %} - -
@@ -30,10 +28,11 @@
{{work.number_of_pages}} Pages - {{work.language}} - {{work.story_type}} + {{work.language}} + {{work.story_type}}
{% endfor %} {% endblock content %} +{% block jsfile %}{% endblock jsfile %} -- cgit v1.2.3