{% load i18n %} {% block content %} 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 'Permission' %} | {% trans 'Delete' %} | |
---|---|---|---|---|---|
{% for hidden in slot_form.hidden_fields %} {{ hidden }} {% endfor %} | {% for field in slot_form.visible_fields %}{{ field.errors.as_ul }} {{ field }} | {% endfor %}