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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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