tpl

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorPage

func ErrorPage(code int, message string) templ.Component

func Layout

func Layout() templ.Component

func Login

func Login(form *LoginForm) templ.Component

func Profile

func Profile(user *model.User) templ.Component

func Register

func Register(form *RegisterForm) templ.Component

Types

type LoginForm

type LoginForm struct {
	Message  string
	Email    string `form:"email"`
	Password string `form:"password"`
	Remember string `form:"remember"`
}

type RegisterForm

type RegisterForm struct {
	Message  string
	Username string `form:"username"`
	Email    string `form:"email"`
	Password string `form:"password"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL