forms

package
v0.0.0-...-1094846 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

templ: version: v0.3.857

Index

Constants

This section is empty.

Variables

View Source
var Enctype = enctypeStruct{
	UrlEncoded: "application/x-www-form-urlencoded",
	Multipart:  "multipart/form-data",
	TextPlain:  "text/plain",
}
View Source
var Method = MethodStruct{
	GET:  "GET",
	POST: "POST",
}

Functions

This section is empty.

Types

type EnctypeInstance

type EnctypeInstance string

type Form

type Form struct {
	Action  string
	Enctype EnctypeInstance
	Method  MethodInstance
	Fields  []fields.Field
}

func (*Form) Display

func (f *Form) Display() templ.Component

type MethodInstance

type MethodInstance string

type MethodStruct

type MethodStruct struct {
	GET  MethodInstance
	POST MethodInstance
}

Jump to

Keyboard shortcuts

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