Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
django
/
forms
/
templates
/
django
/
forms
/
widgets
📤 Upload
📝 New File
📁 New Folder
Close
Editing: multiple_input.html
{% with id=widget.attrs.id %}<ul{% if id %} id="{{ id }}"{% endif %}{% if widget.attrs.class %} class="{{ widget.attrs.class }}"{% endif %}>{% for group, options, index in widget.optgroups %}{% if group %} <li>{{ group }}<ul{% if id %} id="{{ id }}_{{ index }}"{% endif %}>{% endif %}{% for option in options %} <li>{% include option.template_name with widget=option %}</li>{% endfor %}{% if group %} </ul></li>{% endif %}{% endfor %} </ul>{% endwith %}
Save
Cancel