From df861034078709491a3420dd4b2e08fae6ddcf9c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 30 Aug 2023 21:29:51 +0300 Subject: cosmetic --- core/views/uploads.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'core/views/uploads.py') diff --git a/core/views/uploads.py b/core/views/uploads.py index 72b2643..b92ca4e 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -143,12 +143,17 @@ def logbookedit(request, year=None, slug=None): # OK this could be done by rendering a template, but for such a small bit of HTML, it is easier to have # it all in one place: here output = f''' -
-
{date}
-
{author}, {others}
-
{place} - {title}
- {entry} -
T/U {tu} hrs
''' + +
{date}
+
{author}, {others}
+
{place} - {title}
+ +{entry} + +
T/U {tu} hrs
+
+ +''' return render( request, "logbookform.html", -- cgit v1.2.3