Единый и неделимый json-файл
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user