{% load i18n %} {% block content %} Add a slot (adding a slot does not save changes) {% with formset=slots_FormSet %} {{ formset.management_form }} {% for slot_form in formset.forms %} {% for field in slot_form.visible_fields %} {% endfor %} {% endfor %}
{% trans 'Slot name' %} {% trans 'Type' %} {% trans 'Value' %} {% trans 'Permission' %} {% trans 'Delete' %}
{% for hidden in slot_form.hidden_fields %} {{ hidden }} {% endfor %} {{ field.errors.as_ul }} {{ field }}
Add a slot {% endwith %} {% endblock %}