You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
390 B
16 lines
390 B
<!DOCTYPE html>
|
|
|
|
<form action="/add" method="POST">
|
|
Name: <input type="text" name="name"><br>
|
|
Qty: <input type="number" step="1" min="0" name="quantity"><br>
|
|
Location: <input type="text" name="location"><br>
|
|
<button type="submit">Add</button>
|
|
</form>
|
|
|
|
<ul>
|
|
{% for record in records %}
|
|
<li>
|
|
{{ record.name }} x {{ record.quantity }} in {{ record.location }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|