From 0e1877e59264bd13c47a40629d14b9ef9f26b2a9 Mon Sep 17 00:00:00 2001 From: Ruidy Date: Sun, 21 Apr 2024 22:14:39 +0200 Subject: [PATCH] fix html table --- internal/view/booking_by_id.templ | 16 +++++++++------- internal/view/booking_by_id_templ.go | 10 +++++----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/internal/view/booking_by_id.templ b/internal/view/booking_by_id.templ index 01547bd..84cd259 100644 --- a/internal/view/booking_by_id.templ +++ b/internal/view/booking_by_id.templ @@ -121,13 +121,15 @@ templ BookingById(booking *BookingViewModel) { } - - - - - - { booking.Total } - + + + + + + + { booking.Total } + + diff --git a/internal/view/booking_by_id_templ.go b/internal/view/booking_by_id_templ.go index 0236e1e..19d383a 100644 --- a/internal/view/booking_by_id_templ.go +++ b/internal/view/booking_by_id_templ.go @@ -225,20 +225,20 @@ func BookingById(booking *BookingViewModel) templ.Component { return templ_7745c5c3_Err } } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var8 string templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(booking.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/view/booking_by_id.templ`, Line: 128, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/view/booking_by_id.templ`, Line: 129, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
Add line
Add line