From 6442f96b9cfc7b763fc0b8a0997426daa441c43e Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 4 Apr 2023 01:39:08 +0200 Subject: [PATCH] Cleanup snip templates --- templates/snip/edit.html.twig | 8 +------- templates/snip/index.html.twig | 24 ++++++++---------------- templates/snip/single.html.twig | 8 +------- 3 files changed, 10 insertions(+), 30 deletions(-) diff --git a/templates/snip/edit.html.twig b/templates/snip/edit.html.twig index a48ba11..77005cd 100644 --- a/templates/snip/edit.html.twig +++ b/templates/snip/edit.html.twig @@ -2,11 +2,5 @@ {% block body %}

{{ snip }}

-
-
-
- {{ form(form) }} -
-
-
+ {{ form(form) }} {% endblock %} \ No newline at end of file diff --git a/templates/snip/index.html.twig b/templates/snip/index.html.twig index d870a5c..1ffb1c7 100644 --- a/templates/snip/index.html.twig +++ b/templates/snip/index.html.twig @@ -1,21 +1,13 @@ {% extends 'base/base.html.twig' %} {% block body %} -
-
-
-

Snippets

-
-
- Create a new Snip -
-
- {% for snip in snips %} - - {{ snip }} - - {% endfor %} -
-
+

Snippets

+ Create a new Snip +
+ {% for snip in snips %} + + {{ snip }} + + {% endfor %}
{% endblock %} \ No newline at end of file diff --git a/templates/snip/single.html.twig b/templates/snip/single.html.twig index 947ebda..e220df8 100644 --- a/templates/snip/single.html.twig +++ b/templates/snip/single.html.twig @@ -1,11 +1,5 @@ {% extends 'base/base.html.twig' %} {% block body %} -
-
-
-

{{ snip }}

-
-
-
+

{{ snip }}

{% endblock %} \ No newline at end of file