Movatterモバイル変換


[0]ホーム

URL:


bootstrap

package
v0.6.10Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License:MITImports:6Imported by:13

Details

Repository

github.com/gobuffalo/helpers

Links

Documentation

Index

Constants

View Source
const (FormKey          = "bootstrapForm"RemoteFormKey    = "remoteBootstrapForm"FormForKey       = "bootstrapFormFor"RemoteFormForKey = "remoteBootstrapFormFor")

Keys to be used in templates for the functions in this package.

Variables

This section is empty.

Functions

funcForm

func Form(opts tags.Options, helphctx.HelperContext) (template.HTML,error)

Form implements a `github.com/gobuffalo/plush` helper around thebootstrap.New function in the `github.com/gobuffalo/tags/form/bootstrap` package

funcFormFor

func FormFor(model interface{}, opts tags.Options, helphctx.HelperContext) (template.HTML,error)

FormFor implements a `github.com/gobuffalo/plush` helper around thebootstrap.NewFormFor function in the `github.com/gobuffalo/tags/form/bootstrap` package

funcNew

func New()hctx.Map

New returns a map of the helpers within this package.

funcRemoteForm

func RemoteForm(opts tags.Options, helphctx.HelperContext) (template.HTML,error)

RemoteForm implements a `github.com/gobuffalo/plush` helper around thebootstrap.New function in the `github.com/gobuffalo/tags/form/bootstrap` package

funcRemoteFormFor

func RemoteFormFor(model interface{}, opts tags.Options, helphctx.HelperContext) (template.HTML,error)

FormFor implements a `github.com/gobuffalo/plush` helper around thebootstrap.NewFormFor function in the `github.com/gobuffalo/tags/form/bootstrap` package

<%= remoteFormFor(widget, {method: "POST"}) { %><% } %><form action="/widgets/b6b0ab24-19ae-4cdd-ad73-c5ecbddd6f91" id="widget-form" method="POST"><input name="_method" type="hidden" value="PUT"></form>

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp