{% load compile_static i18n %}
{% block content %}
{% block extra_head_scripts %}
{# #}
{% endblock %}
Add a slot (adding a slot does not save changes)
{% with formset=slots_FormSet %}
{{ formset.management_form }}
{% with formset.forms.0 as slot_form %}
{% trans 'Slot name' %}
{% trans 'Value' %}
{% trans 'Delete' %}
{% endwith %}
{% for slot_form in formset.forms %}
{#
#}
{% for field in slot_form.visible_fields %}
{# Include the hidden fields in the form #}
{% if forloop.first %}
{% for hidden in slot_form.hidden_fields %}
{{ hidden }}
{% endfor %}
{% endif %}
{{ field.errors.as_ul }}
{{ field }}