Skip to content

Instantly share code, notes, and snippets.

@esseti
Created Mar 30, 2018
Embed
What would you like to do?
{% with id=widget.attrs.id %}
{% for group, options, index in widget.optgroups %}
{% for option in options %}
{% with widget=option %}
{% include widget.template_name%}
{% endwith %}
{% endfor %}
{% endfor %}
{% endwith %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment