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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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