Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix namespace of weight unit links
Roland Geiderc3610055190d
diff --git a/wger/nutrition/templates/ingredient/view.html b/wger/nutrition/templates/ingredient/view.htmlindex 89cb2bc42..a0087c80f 100644--- a/wger/nutrition/templates/ingredient/view.html+++ b/wger/nutrition/templates/ingredient/view.html@@ -240,7 +240,7 @@ the search.{% endblocktrans %}<td>{{unit.amount}} {{unit.unit.name}} = {{unit.gram}}g<span class="editoptions float-right">- <a href="{% url 'nutrition:weight_unit:edit' unit.id %}"+ <a href="{% url 'nutrition:unit_ingredient:edit' unit.id %}"title="{% trans 'Edit' %}"{% auto_link_css flavour "wger-modal-dialog" %}><img src="{% static 'images/icons/edit.svg' %}"@@ -249,7 +249,7 @@ the search.{% endblocktrans %}alt="{% trans 'Edit' %}"title="{% trans 'Edit' %}"></a>- <a href="{% url 'nutrition:weight_unit:delete' unit.id %}"+ <a href="{% url 'nutrition:unit_ingredient:delete' unit.id %}"title="{% trans 'Delete' %}"{% auto_link_css flavour "wger-modal-dialog" %}><img src="{% static 'images/icons/trash.svg' %}"