18 lines
338 B
HTML
18 lines
338 B
HTML
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h1>{{ recette.nom }}</h1>
|
||
|
|
||
|
<div style="float:right;"><img src="{{ recette.photo }}"></div>
|
||
|
|
||
|
<div>{{ recette.preparation }}</div>
|
||
|
|
||
|
{% if recette.ingredients.count %}
|
||
|
<ul>
|
||
|
{% for comp in recette.ingredients.all %}
|
||
|
<li>{{ comp }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|