update crud of posts

This commit is contained in:
Simon Vieille 2022-01-15 12:43:59 +01:00
parent 8755b35b71
commit 6e0a7f2047
1 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,9 @@
<span class="font-weight-bold pb-2 d-block">Catégories</span>
{% for category in entity.categories %}
<a class="d-block" href="{{ path('admin_blog_post_show', {entity: category.id}) }}">{{ category.title }}</a>
<a class="d-block" href="{{ path('admin_blog_category_show', {entity: category.id}) }}">{{ category.title }}</a>
{% else %}
-
{% endfor %}
</li>
<li class="list-group-item">
@ -18,6 +20,8 @@
{% for tag in entity.tags %}
<span class="d-block">{{ tag.label }}</span>
{% else %}
-
{% endfor %}
</li>
<li class="list-group-item">