Fix breadcrumb on person form
This commit is contained in:
parent
b2fe3a32b5
commit
13a5bc65b6
3 changed files with 13 additions and 11 deletions
|
|
@ -715,11 +715,12 @@ func ContactAdd(c *fiber.Ctx) error {
|
|||
}
|
||||
|
||||
return c.Render("person_form", fiber.Map{
|
||||
"PageTitle": "Ajouter un contact",
|
||||
"Person": person,
|
||||
"Sections": sections,
|
||||
"Fields": fields,
|
||||
"Errors": errors,
|
||||
"PageTitle": "Ajouter un contact",
|
||||
"MembersPage": false,
|
||||
"Person": person,
|
||||
"Sections": sections,
|
||||
"Fields": fields,
|
||||
"Errors": errors,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -728,11 +728,12 @@ func MemberAdd(c *fiber.Ctx) error {
|
|||
}
|
||||
|
||||
return c.Render("person_form", fiber.Map{
|
||||
"PageTitle": "Ajouter un membre",
|
||||
"Person": person,
|
||||
"Sections": sections,
|
||||
"Fields": fields,
|
||||
"Errors": errors,
|
||||
"PageTitle": "Ajouter un membre",
|
||||
"MembersPage": true,
|
||||
"Person": person,
|
||||
"Sections": sections,
|
||||
"Fields": fields,
|
||||
"Errors": errors,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue