{% load compile_static i18n %} {% load static from staticfiles %} {% block content %} {% block extra_head_scripts %} {% endblock %} Add a slot (adding a slot does not save changes) {% with formset=slots_FormSet %} {{ formset.management_form }}
{% trans 'Slot name' %} | {% trans 'Type' %} | {% trans 'Value' %} | {% trans 'Delete' %} |
---|---|---|---|
#} {% 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 }} | {% endfor %}