Convert templates to pongo2
This commit is contained in:
parent
266cd2f4d2
commit
d61e607b8a
22 changed files with 311 additions and 136 deletions
|
|
@ -2,7 +2,6 @@ package controllers
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"git.readonly.ch/bouzoure/popvaud-people/helpers"
|
||||
"git.readonly.ch/bouzoure/popvaud-people/models"
|
||||
|
|
@ -109,6 +108,6 @@ func WelcomePage(c *fiber.Ctx) error {
|
|||
"Email": user.Email,
|
||||
"Name": user.Name,
|
||||
"EmailUpdate": emailUpdate,
|
||||
"FormErrors": strings.Join(formErrors, "<br>"),
|
||||
}, "layouts/main")
|
||||
"FormErrors": formErrors,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue