Единый и неделимый json-файл

This commit is contained in:
2024-11-22 20:04:20 +03:00
parent 8663c2a451
commit 535c4d2926
6 changed files with 35 additions and 41 deletions

View File

@@ -16,8 +16,8 @@
<form action="" method="post" onsubmit="return check_month({{ date_today.month }})">
<label for="category">Выберите предмет формирования отчета</label>
<select name="category" id="category" required>
{% for item in items %}
<option value="{{ item['id'] }}">{{ item['name'] }}</option>
{% for item in items.keys() %}
<option value="{{ item }}">{{ items[item]['name'] }}</option>
{% endfor %}
</select>