jedna kategoria dla listy

This commit is contained in:
Mateusz Gruszczyński
2025-08-13 22:39:28 +02:00
parent 82c84b5ce6
commit 479e601de1
2 changed files with 6 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
<th scope="col">Nazwa listy</th>
<th scope="col">Właściciel</th>
<th scope="col">Data utworzenia</th>
<th scope="col">Podgląd</th>
<th scope="col">Kategorie</th>
</tr>
</thead>
@@ -30,6 +31,10 @@
<td>{{ lst.title }}</td>
<td>{{ lst.owner.username if lst.owner else "?" }}</td>
<td>{{ lst.created_at.strftime('%Y-%m-%d') }}</td>
<td>
<a href="{{ url_for('view_list', list_id=lst.id) }}" target="_blank"
class="btn btn-sm btn-outline-light">🔗 Otwórz</a>
</td>
<td style="min-width: 220px;">
<select name="categories_{{ lst.id }}" multiple
class="form-select tom-dark bg-dark text-white border-secondary rounded">