Instantly share code, notes, and snippets.

@COil /gist:5004469
Last active Dec 14, 2015

Embed
What would you like to do?
Twig C extension benchmark 1/2
<h3>Categories</h3>
<ul>
{% for rankLevel1, field in form.datas.Category.choices %}
{% include 'ThemesBundle:Search:_group_tree.html.twig' with {'form': form, 'widget': 'Category', 'rankLevel1': rankLevel1, 'level': 1, 'field': field } %}
{% endfor %}
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment