15 lines
399 B
HTML
15 lines
399 B
HTML
{% extends "base_main.html" %}
|
|
{% block title %}{{ recipe.title }}{% endblock %}
|
|
{% block main %}
|
|
<h1>{{ version.recipe.title }} ({{ version.label }})</h1>
|
|
{% if has_multiple_versions %}
|
|
<aside><a href="{{ recipe.get_absolute_url }}">Show all versions</a></aside>
|
|
{% endif %}
|
|
<ul>
|
|
{% for i in ingredients %}
|
|
<li>{{ i.text }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<p>{{ version.body }}</p>
|
|
{% endblock %}
|