{% extends "base.html" %} {% load django_tables2 %} {% load crispy_forms_tags %} {% load static %} {% load i18n %} {% block title %}{% trans "Cookbook" %}{% endblock %} {% block extra_head %} {{ units_form.media }} {% endblock %} {% block content %}

{% trans 'Edit Ingredients' %}

{% blocktrans %} The following form can be used if, accidentally, two (or more) units or ingredients where created that should be the same. It merges two units or ingredients and updates all recipes using them. {% endblocktrans %}

{% trans 'Units' %}

{% csrf_token %} {{ units_form|crispy }}

{% trans 'Ingredients' %}

{% csrf_token %} {{ food_form|crispy }}
{% endblock %}