Allow deleting snips (including git repo)
This commit is contained in:
6
templates/form.html.twig
Normal file
6
templates/form.html.twig
Normal file
@ -0,0 +1,6 @@
|
||||
{% extends 'base/base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<h3>{{ message }}</h3>
|
||||
{{ form(form) }}
|
||||
{% endblock %}
|
@ -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
|
||||
|
Reference in New Issue
Block a user