Implemented basic models

This commit is contained in:
Jurn Wubben 2025-05-19 22:47:45 +02:00
parent 6bceef1664
commit 3ba6099976
16 changed files with 257 additions and 24 deletions

10
app/templates/view.html Normal file
View file

@ -0,0 +1,10 @@
<h1>{{wishlist.title}}</h1>
<sub>{{wishlist.description}}</sub>
<a href="{{url_for('edit', id=wishlist.editId)}}">edit</a>
<ul>
{% for item in wishlist.items %}
<li><input type=checkbox {{ "checked" if item.bought }} {{ item.title }}: {{ item.description }}</li>
{% endfor %}
</ul>