Try to discourage accidentally setting Item.hidden_if_available

This commit is contained in:
Raphael Michel
2019-12-01 12:31:09 +01:00
parent 99607aa74a
commit 11d0c37415
2 changed files with 2 additions and 2 deletions

View File

@@ -425,7 +425,7 @@ class ItemUpdateForm(I18nModelForm):
'event': self.event.slug,
'organizer': self.event.organizer.slug,
}),
'data-placeholder': _('Quota')
'data-placeholder': _('Shown independently of other products')
}
)
self.fields['hidden_if_available'].widget.choices = self.fields['hidden_if_available'].choices