{% if uuid is not empty %} {% set category = createModel('Category','category').findById(uuid) %} {% set translations = createModel('CategoryTranslations','category').where('category_id','=',category.id) %} {% endif %}
{% for item in translations.get() %}
{{ component('semantic~language.label',{ language: item.language, class: ' basic horizontal ' }) }} {{ item.title }}
{{ labels.slug }} {{ item.slug }}
{% endfor %}