Implemented basic models
This commit is contained in:
parent
6bceef1664
commit
3ba6099976
16 changed files with 257 additions and 24 deletions
10
app/templates/view.html
Normal file
10
app/templates/view.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue