{% extends "base.html" %} {% load i18n %} {% block content %}

{{ subtitle }}

{% load django_bootstrap5 %}
{% csrf_token %} {% if form.errors %} {% endif %} {{ form.management_form }}
{% bootstrap_field form.0.type %}
{% bootstrap_field form.0.amount %}
{% bootstrap_field form.0.customer_id %}
{% trans 'Component details' %}
{% for f in form %}
{% bootstrap_field f.name %}
{% bootstrap_field f.value %}
{% endfor %}
{% translate "Cancel" %}
{% endblock %}