My lists
{% include 'vocabularyContainer.twig' with {'actions' : ['affAllVocab', 'delById', 'getContent' ], 'vocabularies' : vocabularies, 'vocabID' : vocabID, 'content' : content } %}
Content
{% if content is defined %}
French word |
English word |
{% for trad in content %}
{{trad.word1}} |
{{trad.word2}} |
{% endfor %}
{% 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 %}