1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-11-02 08:34:32 +01:00

Autocomplete food on ManageIngredients now show owners

This commit is contained in:
Ehouarn
2025-10-31 23:26:17 +01:00
parent b9bf01f2e3
commit 78372807f8
5 changed files with 17 additions and 11 deletions

View File

@@ -167,7 +167,7 @@ class ManageIngredientsForm(forms.Form):
model=Food,
resetable=True,
attrs={"api_url": "/api/food/food",
"class": "autocomplete"},
"class": "autocomplete manageingredients-autocomplete"},
)
name.label = _('Name')