{% extends 'planner/base.html' %}{% load static %} {% block title %}Recipes · Tasknest{% endblock %} {% block page_class %}recipes-page-content{% endblock %} {% block content %}
{% if selected %}
← Back to recipes
{% csrf_token %}
Edit
{% if selected.photo %}Photo of {{ selected.title }}{% else %}{% endif %}

{% if selected.status == 'draft' %}Draft recipe{% else %}Recipe{% endif %}

{{ selected.title }}

{{ selected.total_minutes }} min total · {{ selected.default_servings|floatformat:-2 }} servings

{% if selected.category %}{{ selected.category }}{% endif %}{% for value in selected.tags %}{{ value }}{% endfor %}
{% if selected.description %}

{{ selected.description }}

{% endif %}

Ingredients

    {% for ingredient in selected.ingredients.all %}
  • {{ ingredient.name }}{% if ingredient.preparation_note %}{{ ingredient.preparation_note }}{% endif %}{{ ingredient.quantity|floatformat:-3 }} {{ ingredient.unit }}{% if ingredient.is_optional %}Optional{% endif %}
  • {% empty %}
  • No ingredients added yet.
  • {% endfor %}

Instructions

{% if selected.instructions_markdown %}
{{ selected.instructions_markdown|linebreaksbr }}
{% else %}

No instructions added yet.

{% endif %}
{% if selected.notes_markdown %}

Notes

{{ selected.notes_markdown|linebreaksbr }}
{% endif %}
{% else %}

Make room for something delicious.

Save a recipe to see its ingredients and instructions here.

Create your first recipe
{% endif %}
{% if selected %}{% endif %}
{% endblock %}