{% extends 'base.html' %} {% load static custom_filters %} {% block content %}
{{ field }}
| No. | {% for key, value in fields.items %}{{ value }} | {% endfor %}Action |
|---|---|---|
| {{ forloop.counter }} | {% for field in fields %}{{ item|get_field_value:field|safe }} | {% endfor %}
{% if item.buttons_action %}
{% for value in item.buttons_action %}
{{ value|safe }}
{% endfor %}
{% else %}--{% endif %}
|