FIX: Laden screen below

This commit is contained in:
Simon Martens
2026-01-23 17:50:49 +01:00
parent 0bd614712f
commit de81e199f4
8 changed files with 1848 additions and 1802 deletions

View File

@@ -3,6 +3,7 @@ package controllers
import (
"fmt"
"net/http"
"net/url"
"slices"
"strings"
@@ -142,7 +143,7 @@ func (p *OrtNewPage) POST(engine *templating.Engine, app core.App) HandleFunc {
}
}(app, createdPlace.Id)
redirect := fmt.Sprintf("/ort/%s/", createdPlace.Id)
redirect := fmt.Sprintf("/ort/%s/edit?saved_message=%s", createdPlace.Id, url.QueryEscape("Änderungen gespeichert."))
return e.Redirect(http.StatusSeeOther, redirect)
}
}