2023-04-03 23:44:13 +02:00
|
|
|
{% extends 'base/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h1>Snippets</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-04 00:36:35 +02:00
|
|
|
<a class="btn btn-primary" href="{{ path('snip_new') }}">Create a new Snip</a>
|
2023-04-03 23:44:13 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="list-group">
|
|
|
|
{% for snip in snips %}
|
2023-04-04 00:36:35 +02:00
|
|
|
<a class="list-group-item" href="{{ path('snip_edit', {snip: snip.id}) }}">
|
2023-04-03 23:44:13 +02:00
|
|
|
{{ snip }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|