{% extends 'base.html.twig' %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('admin') }} {% endblock %} {% block title %}Categories{% endblock %} {% block body %}

{% trans %}Categories{% endtrans %}

{{ form(form) }}
{% for c in categories %} {% endfor %}
{% trans %}Channel{% endtrans %} {% trans %}Parent{% endtrans %} {% trans %}Title{% endtrans %} {% trans %}Featured{% endtrans %}  
{% for channel in channels %} {% if channel.id == c.channel %} {{ channel.name }} {% endif %} {% endfor %} {% for p in categories %} {% if p.id == c.parent %} {{ p.title }} {% endif %} {% endfor %} {{ c.getTitle }} {{ (c.getFeatured == 1) ? 'YES' : 'NO' }}
{% endblock %}