diff --git a/pages/login.go b/pages/login.go index 0f22c57..0614cdc 100644 --- a/pages/login.go +++ b/pages/login.go @@ -53,7 +53,7 @@ func CreateAccount(w http.ResponseWriter, r *http.Request) { w.Header().Add("Location", "/") w.WriteHeader(http.StatusSeeOther) } else { - templates.CreateAccountBox(false).Render(r.Context(), w) + templates.CreateAccountBox(r.URL.Query().Has("basic")).Render(r.Context(), w) } return } diff --git a/pages/templates/login.templ b/pages/templates/login.templ index d6f5857..817e3b0 100644 --- a/pages/templates/login.templ +++ b/pages/templates/login.templ @@ -55,21 +55,21 @@ templ CreateAccountBox(basic_css bool) {

Create Account

-
-
- +
+ + -
+
-
- + + -
+
-
- + + - +
} diff --git a/pages/templates/login_templ.go b/pages/templates/login_templ.go index 02f587d..ed53fe0 100644 --- a/pages/templates/login_templ.go +++ b/pages/templates/login_templ.go @@ -131,7 +131,7 @@ func CreateAccountBox(basic_css bool) templ.Component { }() } ctx = templ.InitializeContext(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Create Account




") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Create Account

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }