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 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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