Snips/templates/snip/edit.html.twig

17 lines
467 B
Twig
Raw Normal View History

{% extends 'base/single.column.html.twig' %}
2023-04-04 00:36:35 +02:00
{% set title %}Edit {{ snip }}{% endset %}
2023-04-04 00:36:35 +02:00
{% block body %}
{% if snip.id %}
<a href="{{ path('snip_single', {snip: snip.id}) }}" class="btn btn-primary">
<i class="fa fa-arrow-left"></i>
Back
</a>
{% endif %}
<a href="{{ path('snip_index') }}" class="btn btn-info">
<i class="fa fa-list"></i>
Index
</a><br><br>
2023-04-04 01:39:08 +02:00
{{ form(form) }}
2023-04-04 00:36:35 +02:00
{% endblock %}