bootstrap
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Constants
- func Form(opts tags.Options, help hctx.HelperContext) (template.HTML, error)
- func FormFor(model interface{}, opts tags.Options, help hctx.HelperContext) (template.HTML, error)
- func New() hctx.Map
- func RemoteForm(opts tags.Options, help hctx.HelperContext) (template.HTML, error)
- func RemoteFormFor(model interface{}, opts tags.Options, help hctx.HelperContext) (template.HTML, error)
Constants¶
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
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.