{% load partials powercrud %} {% if use_crispy %} {% load crispy_forms_tags %} {% endif %} {% with inline_enabled=inline_edit.enabled %}
| {% endif %} {% for header, field_name, is_sortable in headers %} | {{ header }} {% if is_sortable %} {% if current_sort == field_name %} {% elif current_sort == '-'|add:field_name %} {% endif %} {% endif %} | {% endfor %}Actions |
|---|---|---|
| {% endif %} {% for cell in row.cells %} {% with value_str=cell.value|stringformat:"s" %} |
{% if inline_enabled and row.inline_allowed and cell.is_inline_editable %}
{% with align_class=cell.align %}
{% endwith %}
{% else %}
{{ cell.value }}
{% endif %}
|
{% endwith %}
{% endfor %}
{{ row.actions }}
|