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

'Add all identical food' on ManageIngredients

This commit is contained in:
Ehouarn
2025-10-31 23:49:14 +01:00
parent 78372807f8
commit 6cffe94bae
3 changed files with 20 additions and 5 deletions

View File

@@ -181,6 +181,11 @@ class ManageIngredientsForm(forms.Form):
)
qrcode.label = _('QR code number')
add_all_same_name = forms.BooleanField(
required=False,
label=_("Add all identical food")
)
ManageIngredientsFormSet = forms.formset_factory(
ManageIngredientsForm,