{% load django_bootstrap5 %} {% load django_fast_frontend %}
{% csrf_token %} {% bootstrap_form table.form %}
{% bootstrap_button button_type="submit" content="Save" %}
{% if segments.4 %} {% if option.table.inline_button %} {% for inline_button in table.inline_button %}
{% csrf_token %} {% with inline_button|label as inline_button_label %} {% bootstrap_button button_type="submit" button_class="btn-outline-primary" content=inline_button_label %} {% endwith %}
{% endfor %} {% endif %} {% if option.table.delete %}
{% csrf_token %} {% bootstrap_button button_class="btn-danger" button_type="submit" content="Delete" %}
{% endif %} {% endif %}