From 068c6b8d94a9d6d03b313e3a5372ec1ee607652b Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 13 Aug 2016 13:48:54 +0200 Subject: [PATCH] Prevent duplicate form submission; indentation fixes --- templates/edit.html | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/templates/edit.html b/templates/edit.html index 77116cb..8ddf379 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -31,14 +31,13 @@ {% endif %} - {% if formaction and formaction == 'edit' %} -
- {% else %} - - {% endif %} - -
+{% if formaction and formaction == 'edit' %} + +{% else %} + +{% endif %} +
description @@ -119,15 +118,25 @@ {% endif %}
-

+

- {% if bookmark.url_hash %} +

+
+ {% else %} +
+ {% endif %} -
+ + {% endblock %}