Allow deleting snips (including git repo)

This commit is contained in:
Tim
2023-04-06 20:46:30 +02:00
parent 004044022d
commit df708aa931
5 changed files with 69 additions and 1 deletions

View File

@ -13,6 +13,9 @@
<a class="btn btn-info" href="{{ path('history_index', {snip: snip.id}) }}">
<i class="fa fa-history" aria-hidden="true"></i> History
</a>
<a href="{{ path('snip_delete', {snip: snip.id}) }}" class="btn btn-danger">
<i class="fa fa-trash"></i> Delete
</a>
{% endif %}
<a href="{{ path('snip_raw', {snip: snip.id}) }}" class="btn btn-danger">
<i class="fa fa-eye"></i> Raw