{% blocktrans %}Fields marked with * are required{% endblocktrans %}
{% endcomment %}
{# Provide form_classes for Unfold crispy forms template pack #}
{% get_form_classes as form_classes %}
{% block form_non_field_and_hidden_errors %}
{% get_form_hidden_fields_errors form as form_hidden_fields_errors %}
{% if form.non_field_errors or form_hidden_fields_errors %}
{% include fobi_theme.form_non_field_and_hidden_errors_snippet_template %}
{% endif %}
{% endblock form_non_field_and_hidden_errors %}
{# Include widget media so date/time widgets get their assets #}
{{ form.media }}
{# Render hidden fields (e.g., positions) #}
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
{# Render each visible field in a card with crispy forms styling #}
{% for field in form.visible_fields %}
{# This renders the field with Unfold crispy styling #}
{% include "unfold_crispy/field.html" with field=field form_show_labels=True wrapper_class="mb-0" %}
{# JS will move your .list-inline actions here #}
{% endfor %}
{# Custom CSS and JavaScript to style and position action links #}