13 lines
400 B
Twig
13 lines
400 B
Twig
{% extends 'base/base.html.twig' %}
|
|
|
|
{% block body %}
|
|
<h1>Snippets</h1>
|
|
<a class="btn btn-primary" href="{{ path('snip_new') }}">Create a new Snip</a>
|
|
<div class="list-group">
|
|
{% for snip in snips %}
|
|
<a class="list-group-item" href="{{ path('snip_single', {snip: snip.id}) }}">
|
|
{{ snip }}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %} |