Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5. bootstrap_form is a Rails form builder that makes it super easy to integrate Bootstrap v5-style forms into your Rails application. It provides form helpers that augment the Rails form helpers. bootstrap_forms's form helpers generate the form field and its label and all the Bootstrap mark-up required for proper Bootstrap display. bootstrap_form. You can also put the error messages after the label, or turn off bootstrap_form's validation error handling and do it yourself. Note that this applies to Rails-generated validation messages. HTML 5 client-side validation and Rails validation out of the box doesn't really work well together. Mark-up for Bootstrap horizontal forms (labels to the left of their fields, like a traditional desktop application), if that's what you want.

Features

  • Automatic mark-up for the required attribute on required fields
  • An easy way to consistently show help text on fields
  • Mark-up for Bootstrap horizontal forms
  • Many options to modify or augment the generated mark-up
  • A way to escape to the Rails form helpers if you need to do something that bootstrap_form can't do
  • Reduces the amount of code in your .erb files

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow bootstrap_form

bootstrap_form Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of bootstrap_form!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Build Tools, Ruby Frameworks, Ruby User Interface (UI) Software, Ruby Form Builders

Registered

2022-04-21