Browse Source

update crud of posts

develop
Simon Vieille 4 days ago
parent
commit
6e0a7f2047
  1. 6
      templates/blog/post_admin/_show.html.twig

6
templates/blog/post_admin/_show.html.twig

@ -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">

Loading…
Cancel
Save