2023-04-03 23:44:13 +02:00
|
|
|
{% extends 'base/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block body %}
|
2023-04-04 23:23:53 +02:00
|
|
|
<div class="card" style="width: 100%;">
|
|
|
|
<h4 class="card-header">
|
2023-04-05 00:02:47 +02:00
|
|
|
{% if is_granted('edit', snip) %}
|
|
|
|
<a class="btn btn-sm btn-outline-info" href="{{ path('snip_edit', {snip: snip.id}) }}">
|
|
|
|
<i class="fa fa-pencil" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{{ include('snip/badge.html.twig', {snip: snip}) }}
|
2023-04-04 23:23:53 +02:00
|
|
|
{{ snip }}
|
|
|
|
</h4>
|
|
|
|
<div class="card-body">
|
|
|
|
<p class="card-text">{{ content }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-03 23:44:13 +02:00
|
|
|
{% endblock %}
|