1 {% extends "base.html" %}
5 <a href="{{ recipe.url }}">{{ recipe.name }}</a>
12 <p id="recipe-details">
13 {% if recipe.yield_ %}
14 <span class="detail-field-header">Yield:</span>
15 <span class="detail-field-contents">{{ recipe.yield_ }}</span><br />
17 {% if recipe.author %}
18 <span class="detail-field-header">Author:</span>
19 <span class="detail-field-contents">{{ recipe.author }}</span><br />
21 {% if recipe.source %}
22 <span class="detail-field-header">Source:</span>
23 <span class="detail-field-contents">{{ recipe.source }}</span><br />
26 <div id="recipe-ingredient-blocks">
27 {% for ingredient_block in recipe.ingredient_blocks %}
28 <h2>{{ ingredient_block.heading() }}</h2>
30 {% for ingredient in ingredient_block %}
31 <tr>{{ ingredient.__unicode__() }}</tr>
37 <div id="recipe-directions">
39 {% for paragraph in recipe.directions.wrapped_paragraphs() %}
40 <p>{{ paragraph }}</p>