FIX: back-links in bearbeiten-Formularen

This commit is contained in:
Simon Martens
2026-01-29 14:16:57 +01:00
parent ff85e83dc7
commit 459c15b409
22 changed files with 591 additions and 525 deletions

View File

@@ -130,6 +130,7 @@ func (p *ReiheEditPage) GET(engine *templating.Engine, app core.App) HandleFunc
req := templating.NewRequest(e)
data["csrf_token"] = req.Session().Token
data["cancel_url"] = cancelURLFromHeader(e)
if msg := popFlashSuccess(e); msg != "" {
data["success"] = msg
@@ -156,6 +157,7 @@ func (p *ReiheEditPage) renderError(engine *templating.Engine, app core.App, e *
req := templating.NewRequest(e)
data["csrf_token"] = req.Session().Token
data["cancel_url"] = cancelURLFromHeader(e)
return engine.Response200(e, p.Template, data, p.Layout)
}