{% import "macro_hierarchy.html.twig" as macro_hierarchy %}

{% trans %}Vocabulary management{% endtrans %}

{% if not currentList.thesaurus %}
{{ form_widget(displayOptionsForm.children.displayType) }}
{% endif %}
{{ form_row(displayOptionsForm.synonym) }} {{ form_row(displayOptionsForm.occurrence) }}
{{ form_row(displayOptionsForm.empty_occurence) }} {{ form_row(displayOptionsForm.candidate) }} {% if currentList.thesaurus %} {% endif %}
{#
#} {#{{ form_rest(displayOptionsForm) }}#} {#
#}
{{ form_widget(wordForm) }}
{#
    #} {#
#}
{% for word in words %} {% if word.synonym %} {% if false == currentEmptyOccurence or 0 == word.countLibraryWordOccurences() %} {% endif %} {% else %} {% if false == currentEmptyOccurence or 0 == word.countLibraryWordOccurences() %} {% endif %} {% endif %} {% endfor %}
{{ word.name }} {% if currentOccurence %} {{ word.countLibraryWordOccurences() }}{% endif %}
{{ word.name }} {% if word.candidate %}*{% endif %} {% if currentOccurence %} {{ word.countLibraryWordOccurences() }} {% endif %}
{% if currentList.thesaurus %} {% set level = 0 %} {% endif %}