14 lines
280 B
Go
14 lines
280 B
Go
package web
|
|
|
|
import (
|
|
"context"
|
|
"net/http"
|
|
|
|
"git.arnef.de/arnef/nidus/internal/web/templates"
|
|
)
|
|
|
|
func renderLogin(w http.ResponseWriter, errMsg string) {
|
|
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
|
_ = templates.Login(errMsg).Render(context.Background(), w)
|
|
}
|