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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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