|
|
@@ -8,17 +8,21 @@
|
|
|
|
|
|
{% comment %}
|
|
|
Blocks:
|
|
|
- extra_controls: Additional action buttons
|
|
|
- bulk_buttons: Additional bulk action buttons to display beneath the objects
|
|
|
- list
|
|
|
+ - title: Page title
|
|
|
+ - controls: Control elements displayed between the header and content
|
|
|
+ - extra_controls: Any additional action buttons to display
|
|
|
+ - tabs: Page tabs
|
|
|
+ - content: Primary page content
|
|
|
+ - bulk_buttons: Additional bulk action buttons to display beneath the objects list
|
|
|
+ - modals: Any pre-loaded modals
|
|
|
|
|
|
Context:
|
|
|
- model: The model class being listed
|
|
|
- table: The table class used for rendering the list of objects
|
|
|
- actions: A list of buttons to display. This template checks for add, import,
|
|
|
- export, bulk_edit, and bulk_delete.
|
|
|
- filter_form: The bound filterset form for filtering the objects list (optional)
|
|
|
- return_url: Return URL to use for bulk actions (optional)
|
|
|
+ - model: The model class being listed
|
|
|
+ - table: The table class used for rendering the list of objects
|
|
|
+ - actions: A list of buttons to display. This template checks for add, import, export,
|
|
|
+ bulk_edit, and bulk_delete.
|
|
|
+ - filter_form: The bound filterset form for filtering the objects list (optional)
|
|
|
+ - return_url: Return URL to use for bulk actions (optional)
|
|
|
{% endcomment %}
|
|
|
|
|
|
{% block title %}{{ model|meta:"verbose_name_plural"|bettertitle }}{% endblock %}
|