Add some data access methods to Connection
[recipes.git] / backend / templates / base_with_list.html
index d3f20ee..fb008aa 100644 (file)
@@ -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>