templates

package
v2.468.15 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0, MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TemplateIdentifierInput   = template.Must(template.New("identifierInput").Parse(templateIdentifierInputRaw))
	TemplateConfirmationInput = template.Must(template.New("confirmationInput").Parse(templateConfirmationInputRaw))
	TemplateRedirect          = template.Must(template.New("redirectTemplate").Parse(templateRedirectRaw))
)

pls linter stop reordering things

Functions

This section is empty.

Types

type TemplateParamsConfirmation

type TemplateParamsConfirmation struct {
	Context          string
	Code             string
	CodeLabel        string
	CodePlaceholder  string
	CodeSubmitButton string
	PageTitle        string
	FormErrors       []string
}

type TemplateParamsIdentifier

type TemplateParamsIdentifier struct {
	Context                string
	PageTitle              string
	Identifier             string
	IdentifierLabel        string
	IdentifierPlaceholder  string
	IdentifierSubmitButton string
	FormErrors             []string
}

type TemplateParamsRedirect

type TemplateParamsRedirect struct {
	URI string
}

Jump to

Keyboard shortcuts

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