flask_eindproject/app/templates/view.html
2025-05-19 22:48:26 +02:00

10 lines
No EOL
307 B
HTML

<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>