Self hosted FLOSS fitness/workout, nutrition and weight tracker
Also unlocalize the ingredient ID
Roland Geider31cab6bcc25f
diff --git a/wger/nutrition/templates/ingredient/view.html b/wger/nutrition/templates/ingredient/view.htmlindex 27a9d03f5..de01c73be 100644--- a/wger/nutrition/templates/ingredient/view.html+++ b/wger/nutrition/templates/ingredient/view.html@@ -1,5 +1,5 @@{% extends "base.html" %}-{% load i18n static wger_extras django_bootstrap_breadcrumbs crispy_forms_tags %}+{% load i18n l10n static wger_extras django_bootstrap_breadcrumbs crispy_forms_tags %}{% block title %}{{ingredient.name}}{% endblock %}@@ -59,7 +59,7 @@ the search.{% endblocktranslate %}id="nutritional-values-form"style="background-color: transparent; border-width: 0px; box-shadow: 0px 0px 0px 0px transparent;"><div id="calculator-errors"></div>- <input type="hidden" value="{{ingredient.id}}" name="ingredient">+ <input type="hidden" value="{{ingredient.id|unlocalize}}" name="ingredient">{% crispy form %}</form>