{% include 'navBar.twig' %}

My lists

{% include 'vocabularyContainer.twig' with {'actions' : ['affAllVocab', 'delById', 'getContent' ], 'vocabularies' : vocabularies, 'vocabID' : vocabID, 'content' : content } %}

Content

{% if content is defined %} {% for trad in content %} {% endfor %}
French word English word
{{trad.word1}} {{trad.word2}}
{% endif %}

Groups with vocab

{% if vocabID is defined %} {% include 'groupContainer.twig' with {'actions' : 'removeVocabFromGroup', groups : groupsVocab } %} {% endif %}

Groups without vocab

{% if groupsNoVocab is defined and vocabID is defined %} {% include 'groupContainer.twig' with {'actions' : 'addVocabToGroup', groups : groupsNoVocab } %} {% endif %}