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

View File

@@ -35,12 +35,12 @@
{% bootstrap_field form.available_until layout="control" %}
{% bootstrap_field form.max_per_order layout="control" %}
{% bootstrap_field form.min_per_order layout="control" %}
{% bootstrap_field form.hidden_if_available layout="control" %}
{% bootstrap_field form.require_voucher layout="control" %}
{% bootstrap_field form.hide_without_voucher layout="control" %}
{% bootstrap_field form.require_bundling layout="control" %}
{% bootstrap_field form.allow_cancel layout="control" %}
{% bootstrap_field form.allow_waitinglist layout="control" %}
{% bootstrap_field form.hidden_if_available layout="control" %}
</fieldset>
{% for v in formsets.values %}
<fieldset>