diff --git a/fet2020/posts/views.py b/fet2020/posts/views.py index a1bb1b0b..6e359700 100644 --- a/fet2020/posts/views.py +++ b/fet2020/posts/views.py @@ -50,6 +50,7 @@ def index(request): if year == "": year = None + month = None if not year and month: messages.info( diff --git a/fet2020/templates/posts/index.html b/fet2020/templates/posts/index.html index fdcecef8..d2088cc3 100644 --- a/fet2020/templates/posts/index.html +++ b/fet2020/templates/posts/index.html @@ -27,18 +27,18 @@ x-transition:leave-start="scale-100 opacity-100" x-transition:leave-end="scale-110 opacity-0" > -
-

- - - - Auswahl einschränken -

-
- -
-
-
+
+

+ + + + Auswahl einschränken +

+
+ +
+
+ {% csrf_token %} {% for message in messages %} @@ -49,54 +49,56 @@ {% endfor %} - - - + + + + +
- - - - - - -