{% extends 'planner/base.html' %}{% load static %} {% block title %}{% if creating %}New recipe{% else %}Edit {{ recipe.title }}{% endif %} · Tasknest{% endblock %} {% block page_class %}recipes-page-content{% endblock %} {% block content %}
← Back to recipes

{% if creating %}New recipe{% else %}Edit recipe{% endif %}

Keep ingredients structured and instructions in Markdown.

{% csrf_token %} {% if form.non_field_errors %}{% endif %}

Recipe details

{% for field in form %}{% if field.name != 'remove_photo' %}
{{ field }}{% if field.help_text %}{{ field.help_text }}{% endif %}{% if field.errors %}{% endif %}
{% endif %}{% endfor %}{% if recipe.photo %}
Current recipe photo
{% endif %}

Ingredients

Add measured ingredients now; product matching can be refined later.

{{ ingredients.management_form }}{% if ingredients.non_form_errors %}{% endif %}
{% for ingredient in ingredients %}{% include 'recipes/ingredient_row.html' %}{% endfor %}
Cancel
{% endblock %}