From 81882e1969bad6ac70477cf81153ec7be81a0708 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Wed, 12 Jul 2023 19:50:51 +1000 Subject: [PATCH] Fix issue arising from last commits refactor where multiple calls to edit workout start date/note would create multiple instances of the dom --- templates/partials/start_date.html | 2 +- templates/partials/workout_note.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/partials/start_date.html b/templates/partials/start_date.html index 650061a..bbd7ccb 100644 --- a/templates/partials/start_date.html +++ b/templates/partials/start_date.html @@ -1,4 +1,4 @@ -
+
{% if is_edit|default(false, true) == false %} {{ strftime(start_date, "%b %d %Y") }} +
{% if is_edit|default(false, true) == false %} {% if note|length > 0 %} {{ note }}