Lot of thing
[recipes.git] / backend / templates / base_with_list.html
diff --git a/backend/templates/base_with_list.html b/backend/templates/base_with_list.html
new file mode 100644 (file)
index 0000000..d3f20ee
--- /dev/null
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block main_container %}
+    <div class="list">
+        <ul>
+            {% for recipe in recipes %}
+                <li><a href="/recipe/view/{{ recipe.id }}">{{ recipe.title|escape }}</a></li>
+            {% endfor %}
+        </ul>
+    </div>
+    <div class="content">
+        {% block content %}{% endblock %}
+    </div>
+{% endblock %}