{% set category = createModel('Category','category') %} {% if uuid is not empty %} {% set category = category.findById(uuid) %} {% endif %} {% set translation = category.translation(language) %}
{{ component('semantic~form.fields.slug',{ slug_source: 'title', url_path: '' }) }}
{% if translation.slug is not empty %}
{{ translation.slug }}
{% endif %}
{{ component('semantic~form.footer') }}