diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/view/auth.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/view/auth.go b/pkg/view/auth.go index 5d73b22..631cfb3 100644 --- a/pkg/view/auth.go +++ b/pkg/view/auth.go @@ -5,7 +5,6 @@ import ( "github.com/valyala/fasthttp" - "git.sr.ht/~gabrielgio/img" "git.sr.ht/~gabrielgio/img/pkg/ext" "git.sr.ht/~gabrielgio/img/pkg/service" "git.sr.ht/~gabrielgio/img/templates" @@ -71,7 +70,8 @@ func Index(ctx *fasthttp.RequestCtx) { } func (v *AuthView) InitialRegisterView(ctx *fasthttp.RequestCtx) error { - return img.Render[interface{}](ctx, "register.html", nil) + templates.WritePageTemplate(ctx, &templates.RegisterPage{}) + return nil } func (v *AuthView) InitialRegister(ctx *fasthttp.RequestCtx) error { |