From a120f85c11c57525d038f960c4f1db84098c35da Mon Sep 17 00:00:00 2001 From: Ruidy Date: Fri, 15 Nov 2024 16:43:26 +0100 Subject: [PATCH] new booking --- internal/view/bookings_new.templ | 122 ++++++++++++++++------------ internal/view/bookings_new_templ.go | 8 +- 2 files changed, 76 insertions(+), 54 deletions(-) diff --git a/internal/view/bookings_new.templ b/internal/view/bookings_new.templ index 91ff581..5b22c3c 100644 --- a/internal/view/bookings_new.templ +++ b/internal/view/bookings_new.templ @@ -4,58 +4,80 @@ import "github.com/rjNemo/rentease/internal/view/layout" templ NewBooking(platforms []string) { @layout.BaseLayout() { -
-

New Booking

-

Create a new booking

+
+

New Booking

+ Create a new booking
-
-
- - - + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ +
-
- - - -
-
- - - -
- } } diff --git a/internal/view/bookings_new_templ.go b/internal/view/bookings_new_templ.go index 8c49da7..504edd6 100644 --- a/internal/view/bookings_new_templ.go +++ b/internal/view/bookings_new_templ.go @@ -43,7 +43,7 @@ func NewBooking(platforms []string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

New Booking

Create a new booking

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }