Fixed requests

This commit is contained in:
2024-12-10 18:19:30 +03:00
parent 8ec0cf6b58
commit fe2b1fd014
3 changed files with 7 additions and 8 deletions

View File

@@ -33,9 +33,9 @@
<div class="form py-5">
<form action="" method="post" style="display: inline-block;">
<label>Выберите материал</label>
<select class="form-select" name="material">
<select class="form-select" name="id">
{% for item in materials %}
<option value="{{ item["name"] }}">{{ item["name"] }}</option>
<option value="{{ item["work_id"] }}">{{ item["name"] }}</option>
{% endfor %}
</select>
<button type="submit" class="btn btn-primary">Отправить</button>