Add some data access methods to Connection
This commit is contained in:
parent
4fbc599d07
commit
cdb883c3c4
6 changed files with 180 additions and 114 deletions
|
|
@ -3,8 +3,8 @@
|
|||
{% block main_container %}
|
||||
<div class="list">
|
||||
<ul>
|
||||
{% for recipe in recipes %}
|
||||
<li><a href="/recipe/view/{{ recipe.id }}">{{ recipe.title|escape }}</a></li>
|
||||
{% for (id, title) in recipes %}
|
||||
<li><a href="/recipe/view/{{ id }}">{{ title|escape }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue