Add allow_entry_after_exit field to subevent editing

This commit is contained in:
Raphael Michel
2020-10-07 09:25:53 +02:00
parent 14ad7716bd
commit 3708dab656
3 changed files with 5 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ class SimpleCheckinListForm(forms.ModelForm):
'all_products',
'limit_products',
'include_pending',
'allow_entry_after_exit',
]
widgets = {
'limit_products': forms.CheckboxSelectMultiple(attrs={

View File

@@ -508,6 +508,7 @@
{% bootstrap_field form.include_pending layout="control" %}
{% bootstrap_field form.all_products layout="control" %}
{% bootstrap_field form.limit_products layout="control" %}
{% bootstrap_field form.allow_entry_after_exit layout="control" %}
</div>
</div>
{% endfor %}
@@ -536,6 +537,7 @@
{% bootstrap_field cl_formset.empty_form.include_pending layout="control" %}
{% bootstrap_field cl_formset.empty_form.all_products layout="control" %}
{% bootstrap_field cl_formset.empty_form.limit_products layout="control" %}
{% bootstrap_field cl_formset.empty_form.allow_entry_after_exit layout="control" %}
</div>
</div>
{% endescapescript %}

View File

@@ -192,6 +192,7 @@
{% bootstrap_field form.include_pending layout="control" %}
{% bootstrap_field form.all_products layout="control" %}
{% bootstrap_field form.limit_products layout="control" %}
{% bootstrap_field form.allow_entry_after_exit layout="control" %}
</div>
</div>
{% endfor %}
@@ -220,6 +221,7 @@
{% bootstrap_field cl_formset.empty_form.include_pending layout="control" %}
{% bootstrap_field cl_formset.empty_form.all_products layout="control" %}
{% bootstrap_field cl_formset.empty_form.limit_products layout="control" %}
{% bootstrap_field cl_formset.empty_form.allow_entry_after_exit layout="control" %}
</div>
</div>
{% endescapescript %}