Расположение формы запроса

This commit is contained in:
Anton Kamalov
2024-10-24 17:40:25 +03:00
parent 79846d0911
commit 1b900ef52e
4 changed files with 46 additions and 34 deletions

View File

@@ -11,17 +11,19 @@
</div>
<!-- Input -->
<h1>Материалы заготовок</h1>
<p>Выберите материал<p>
<form action="" method="post">
<select name="material">
{% for item in materials %}
<option value="{{ item['material'] }}">{{ item['material'] }}</option>
{% endfor %}
</select>
<input type="submit" value="Отправить">
</form>
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
<div class="form">
<form action="" method="post" style="display: inline-block;">
<p>Выберите материал<p></p>
<select name="material">
{% for item in materials %}
<option value="{{ item['material'] }}">{{ item['material'] }}</option>
{% endfor %}
</select>
<input type="submit" value="Отправить">
</form>
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
</div>
</div>
</body>
</html>