update crud of posts
This commit is contained in:
parent
8755b35b71
commit
6e0a7f2047
|
@ -10,7 +10,9 @@
|
||||||
<span class="font-weight-bold pb-2 d-block">Catégories</span>
|
<span class="font-weight-bold pb-2 d-block">Catégories</span>
|
||||||
|
|
||||||
{% for category in entity.categories %}
|
{% 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 %}
|
{% endfor %}
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
|
@ -18,6 +20,8 @@
|
||||||
|
|
||||||
{% for tag in entity.tags %}
|
{% for tag in entity.tags %}
|
||||||
<span class="d-block">{{ tag.label }}</span>
|
<span class="d-block">{{ tag.label }}</span>
|
||||||
|
{% else %}
|
||||||
|
-
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
|
|
Loading…
Reference in a new issue