Универсальный шаблон для результата запроса

This commit is contained in:
Anton Kamalov
2024-10-24 11:15:15 +03:00
parent f2730d85d4
commit d90ca47d83

View File

@@ -19,15 +19,13 @@
</tr>
{% for item in items %}
<tr>
<td>{{ item['material'] }}</td>
<td>{{ item['weight'] }}</td>
<td>{{ item['price'] }}</td>
<td>{{ item['count'] }}</td>
{% for value in item.values() %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
</div></body>
</html>