{% extends 'admin/layout.html.twig' %} {% block content %} {% autoescape false %}
{{ 'article.button.create'|trans }}
{{ 'label.id'|trans }} | {{ 'label.title'|trans }} | {{ 'label.is_active'|trans }} | {{ 'label.actions'|trans }} |
---|---|---|---|
{{ article.id }} | {{ article.title }} | {{ (article.isActive == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {% if is_granted('ROLE_ADMIN') %} {{ 'button.edit'|trans }} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} |