Универсальный шаблон для результата запроса
This commit is contained in:
@@ -19,15 +19,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ item['material'] }}</td>
|
{% for value in item.values() %}
|
||||||
<td>{{ item['weight'] }}</td>
|
<td>{{ value }}</td>
|
||||||
<td>{{ item['price'] }}</td>
|
{% endfor %}
|
||||||
<td>{{ item['count'] }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
<div class="return">
|
<div class="return">
|
||||||
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
|
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
|
||||||
|
|
||||||
</div></body>
|
</div></body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user