Begin sessions
This commit is contained in:
@ -61,7 +61,7 @@ templ RenderLogin(pc PageContext) {
|
||||
hx-target="#login-form-container"
|
||||
hx-swap="outerHTML"
|
||||
>
|
||||
@LoginFormContent(LoginFormValidationContent{})
|
||||
@LoginFormContent(LoginFormValidationContent{Username: "pero", Password: "pero"})
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -216,7 +216,7 @@ func RenderLogin(pc PageContext) templ.Component {
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
templ_7745c5c3_Err = LoginFormContent(LoginFormValidationContent{}).Render(ctx, templ_7745c5c3_Buffer)
|
||||
templ_7745c5c3_Err = LoginFormContent(LoginFormValidationContent{Username: "pero", Password: "pero"}).Render(ctx, templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user