zmiana month na m

This commit is contained in:
Mateusz Gruszczyński
2025-08-13 15:19:51 +02:00
parent fe027a3bc7
commit 5188f80948
2 changed files with 3 additions and 5 deletions

View File

@@ -38,8 +38,7 @@
<div class="d-none d-md-flex justify-content-end align-items-center flex-wrap gap-2 mb-3">
<label for="monthSelect" class="text-white small mb-0">📅 Wybierz miesiąc:</label>
<select id="monthSelect" class="form-select form-select-sm bg-dark text-white border-secondary"
style="min-width: 180px;"
onchange="window.location.search='?m='+this.value">
style="min-width: 180px;">
{% for m in month_options %}
{% set year, month = m.split('-') %}
<option value="{{ m }}" {% if selected_month == m %}selected{% endif %}>
@@ -59,7 +58,6 @@
</button>
</div>
{% if current_user.is_authenticated %}
<h3 class="mt-4 d-flex justify-content-between align-items-center flex-wrap">
Twoje listy