-
-
Notifications
You must be signed in to change notification settings - Fork 72
Bootstrap version
Antonio Pagano edited this page Feb 21, 2018
·
4 revisions
The tags
package provides a specific version to be used with Bootstrap.
To use this version, you need to plug the helpers to their github.com/gobuffalo/tags/form/bootstrap
counterparts.
These are the options you can pass to the form fields when using bootstrap form and form_for helpers:
-
label
Allows specifying a custom label for a field. -
hide_label
Removes label field from the generated tag. -
tag_only
Allows generating only the tag without the bootstrap form-form container div. -
class
Allows adding custom classes to generated inputs.