diff options
Diffstat (limited to 'greenbox/templates/recipe/recipe_list.html')
-rw-r--r-- | greenbox/templates/recipe/recipe_list.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/greenbox/templates/recipe/recipe_list.html b/greenbox/templates/recipe/recipe_list.html index 3ceae72..b942284 100644 --- a/greenbox/templates/recipe/recipe_list.html +++ b/greenbox/templates/recipe/recipe_list.html | |||
@@ -1,5 +1,12 @@ | |||
1 | {% extends "base_generic.html" %} | ||
2 | |||
3 | {% block page_title %}Recipe List{% endblock %} | ||
4 | {% block title %}Recipe List{% endblock %} | ||
5 | |||
6 | {% block contents %} | ||
1 | <ul> | 7 | <ul> |
2 | {% for recipe in object_list %} | 8 | {% for recipe in object_list %} |
3 | <li>{{ recipe.title }}</li> | 9 | <li><a href="/recipe/{{ recipe.slug }}">{{ recipe.title }}</a></li> |
4 | {% endfor %} | 10 | {% endfor %} |
5 | </ul> | 11 | </ul> |
12 | {% endblock %} | ||