dropbna poprawka w stringu

This commit is contained in:
Mateusz Gruszczyński
2025-08-12 22:40:06 +02:00
parent 82ab7483e0
commit 3dfc8c6be6

View File

@@ -164,7 +164,7 @@
<form method="get">
<div class="input-group input-group-sm">
<span class="input-group-text bg-secondary text-white">📅</span>
<select name="month" class="form-select bg-dark text-white border-secondary" onchange="this.form.submit()">
<select name="m" class="form-select bg-dark text-white border-secondary" onchange="this.form.submit()">
<option value="all" {% if show_all %}selected{% endif %}>Wszystkie miesiące</option>
{% for val in month_options %}
{% set date_obj = (val ~ '-01') | todatetime %}
@@ -175,16 +175,15 @@
</select>
</div>
</form>
</div>
<div class="card bg-dark text-white mb-5">
<div class="card-body">
<h3 class="mt-4">
📄 Listy zakupowe
{% if show_all %}
— wszystkie miesiące
<strong>wszystkie miesiące</strong>
{% else %}
— {{ month_str|replace('-', ' / ') }}
<strong>{{ month_str|replace('-', ' / ') }}</strong>
{% endif %}
</h3>
<form method="post" action="{{ url_for('delete_selected_lists') }}">