{% load i18n %}
{% load crispy_forms_filters %}

<form method="post" id="customCardForm" action="{% url 'add_custom_card' car.pk %}">
{% csrf_token %}
    {{ form|crispy }}
    <button type="submit" class="btn btn-sm btn-success">{% trans 'Save' %}</button>
    <button type="button" class="btn btn-sm btn-danger" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
</form>