6 lines
975 B
HTML
6 lines
975 B
HTML
{% extends 'planner/base.html' %}{% load static %}
|
|
{% block title %}Create inventory product · Tasknest{% endblock %}
|
|
{% block content %}<link rel="stylesheet" href="{% static 'food/food.css' %}?v=20261021-nutrition"><div class="food-form-page"><a href="{% url 'food:inventory-add' %}">← Add item</a><h1>Create product</h1><p>Save a product for both Kitchen Inventory and Food Diary. Package size describes stock; nutrition is entered separately for the chosen basis.</p><form method="post" class="food-card product-form">{% csrf_token %}{{ form.non_field_errors }}
|
|
{% for field in form %}{% if field.name == 'product_name' or field.name == 'brand' or field.name == 'barcode' or field.name == 'package_quantity' %}<div class="form-field">{{ field.label_tag }}{{ field }}{{ field.errors }}</div>{% endif %}{% endfor %}
|
|
{% include 'food/partials/product_nutrition_fields.html' %}<button class="button" type="submit">Continue to inventory</button></form></div>{% endblock %}
|