projects
/
cookbook.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4fd2828669efeb8588b9cb31dc3a90e6481c4185
[cookbook.git]
/
example
/
data
/
template
/
cookbook
/
recipes.html
1
{% extends "cookbook/base.html" %}
2
3
{% block title %}
4
{{ title }}
5
{% endblock %}
6
7
{% block content %}
8
<h1>{{ title }}</h1>
9
{% if recipes %}
10
<ul>
11
{% for recipe in recipes %}
12
<li><a href="{% url recipe recipe.id %}">{{ recipe.name }}</a></li>
13
{% endfor %}
14
</ul>
15
{% else %}
16
<p>No recipes are available.</p>
17
{% endif %}
18
{% endblock %}