Convert templates to pongo2
This commit is contained in:
parent
7689f2f1d4
commit
ee9f0d8777
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