{% extends 'planner/base.html' %}{% load static %} {% block title %}Edit product nutrition · Tasknest{% endblock %} {% block content %}
← Kitchen Inventory

Edit {{ product.product_name }}

Changes to this product affect future food logs. Existing Food Diary entries keep their recorded nutrition; edit an entry to correct its own values.

{% if product.source == 'openfoodfacts' %}

Imported from Open Food Facts{% if product.raw_data.manual_nutrition_override %}; nutrition has been corrected manually{% endif %}.

{% endif %}
{% csrf_token %}{{ form.non_field_errors }} {% for field in form %}{% if field.name == 'product_name' or field.name == 'brand' or field.name == 'barcode' %}
{{ field.label_tag }}{{ field }}{{ field.errors }}
{% endif %}{% endfor %} {% include 'food/partials/product_nutrition_fields.html' %}

Kitchen Inventory · Log this food

{% endblock %}