{% extends 'planner/base.html' %}{% load static recipe_markdown %} {% 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 %}
{% csrf_token %}
{% 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 %}

Start cooking

Add missing ingredients to groceries

{% if analysis_error %}{% endif %}

Ingredients

    {% for line in analysis.lines %}
  • {{ line.name }}{% if line.source %}From {{ line.source }}{% endif %}{% if line.ingredient.preparation_note %}{{ line.ingredient.preparation_note }}{% endif %}{{ line.status|capfirst }}{% if line.reason %}: {{ line.reason }}{% endif %}{{ line.quantity|floatformat:-3 }} {{ line.unit }}{% if line.optional %}Optional{% if not analysis.include_optional %} · excluded{% endif %}{% endif %}
  • {% empty %}
  • No ingredients added yet.
  • {% endfor %}

Instructions

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

No instructions added yet.

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

Notes

{{ selected.notes_markdown|recipe_markdown }}
{% endif %}

Linked recipes

Suggestions stay separate from this recipe’s ingredients and nutrition.

Link a recipe Build a recipe
{% for link, other, direction in linked_recipes %}
{{ other.title }}{{ link.get_relationship_display }}{% if direction == 'incoming' %} · shared by {{ link.source.title }}{% endif %}{% if link.note %}

{{ link.note }}

{% endif %}
Edit
{% csrf_token %}
{% empty %}

Link your first recipe to keep a pairing or alternative close by.

{% endfor %}
{% 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 %}