{% extends base %} {% load cms %} {% block content_class %}list{% endblock %} {% block main_content %} {% block filter %} {% if filter_form %}
Filter
{{ filter_form }}
{% if filter_form.has_changed %} Clear {% endif %}
{% endif %} {% endblock %} {% block list %} {% if show_form %}
{% csrf_token %} {{ list.formset.management_form }} {% endif %}
{% block add %} {% bundle_url bundle "add" as add_url %} {% if add_url and add_url != request.path_info %} {% endif %} {% endblock %} {% if not list.empty %} {% if actions %}
{% for url, option in actions %} {{ option }} {% endfor %}
{% endif %} {% block submit %} {% if show_form %} {% endif %} {% endblock %} {% endif %}
{% if actions and not list.empty %} {% endif %} {% if not list.empty %} {% for f in list.labels %} {% endfor %} {% else %} {% endif %} {% for row in list %} {% if show_form %} {{ row.form.non_field_errors }} {% endif %} {% if actions %} {% endif %} {% for elem in row %} {% bundle_url bundle "edit" object=row.instance follow_parent=False as edit_url %} {% endfor %} {% endfor %}
ACTIONS {% if f.sortable %} {{ f.name|capfirst }} {% if f.order_type == "asc" %} {% else %} {% endif %} {% else %} {{ f.name|capfirst }} {% endif %} No {{ model_name_plural }} found.
{% for action_link in action_links %} {% bundle_url bundle action_link.0 object=row.instance follow_parent=False as url %} {% if url %} {% if action_link.1|lower == 'edit' %} {% endif %} {% if action_link.1|lower == 'delete' %} {% endif %} {% if action_link.1|lower == 'publish' %} {% endif %} {% elif action_link.0 == "preview" and row.instance.get_absolute_url %} {% endif %} {% endfor %} {% with row.instance.status_line as line %} {% if line %}
{{ line }}
{% endif %} {% endwith %}
{% if show_form and forloop.first %} {% for hidden_f in row.form.hidden_fields %} {{ hidden_f }} {% endfor %} {% endif %} {% if elem.field %} {{ elem.field }} {% else %} {{ elem }} {% endif %} {% with elem.errors as errors %} {% if errors %} {{ errors }} {% endif %} {% endwith %}
{% if show_form %}
{% endif %} {% if is_paginated and not list.empty %} {% endif %} {% endblock %} {% endblock %}