{% load django_bootstrap5 %} {% load django_fast_frontend %} {% for field in table.fields %} {% endfor %} {% if option.table.change %} {% endif %} {% for object in table.objects %} {% for key, value in object.items %} {% if 'id' in table.fields %} {% else %} {% if not key == 'id' %} {% endif %} {% endif %} {% endfor %} {% if option.table.inline_button %} {% for inline_button in table.inline_button %} {% endfor %} {% endif %} {% if option.table.change %} {% endif %} {% endfor %}
{{ field|title }}Edit
{{ value }}{{ value }}
{% csrf_token %} {% with inline_button|label as inline_button_label %} {% bootstrap_button button_type="submit" content=inline_button_label %} {% endwith %}
{% bootstrap_button button_type="button" content=" Edit" %}