forked from CGM_Public/pretix_original
Try to discourage accidentally setting Item.hidden_if_available
This commit is contained in:
@@ -425,7 +425,7 @@ class ItemUpdateForm(I18nModelForm):
|
|||||||
'event': self.event.slug,
|
'event': self.event.slug,
|
||||||
'organizer': self.event.organizer.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
|
self.fields['hidden_if_available'].widget.choices = self.fields['hidden_if_available'].choices
|
||||||
|
|||||||
@@ -35,12 +35,12 @@
|
|||||||
{% bootstrap_field form.available_until layout="control" %}
|
{% bootstrap_field form.available_until layout="control" %}
|
||||||
{% bootstrap_field form.max_per_order layout="control" %}
|
{% bootstrap_field form.max_per_order layout="control" %}
|
||||||
{% bootstrap_field form.min_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.require_voucher layout="control" %}
|
||||||
{% bootstrap_field form.hide_without_voucher layout="control" %}
|
{% bootstrap_field form.hide_without_voucher layout="control" %}
|
||||||
{% bootstrap_field form.require_bundling layout="control" %}
|
{% bootstrap_field form.require_bundling layout="control" %}
|
||||||
{% bootstrap_field form.allow_cancel layout="control" %}
|
{% bootstrap_field form.allow_cancel layout="control" %}
|
||||||
{% bootstrap_field form.allow_waitinglist layout="control" %}
|
{% bootstrap_field form.allow_waitinglist layout="control" %}
|
||||||
|
{% bootstrap_field form.hidden_if_available layout="control" %}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{% for v in formsets.values %}
|
{% for v in formsets.values %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
Reference in New Issue
Block a user