bootstrap_form

Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.

MIT License

Downloads
24.4M
Stars
1.6K
Committers
98

Bot releases are hidden (Show)

bootstrap_form - 2.5.2

Published by mattbrictson about 8 years ago

Bugfixes:

  • Allow objects without model_names to act as form objects (#295, @laserlemon)
  • Fix offset for submit for horizontal forms when using non-sm column breakers for label column (#293, @oteyatosys)
bootstrap_form - 2.5.1

Published by mattbrictson about 8 years ago

Bugfixes:

  • Fix getting help text for elements when using anonymous models (see issue 282)
bootstrap_form - 2.5.0

Published by mattbrictson about 8 years ago

Bugfixes:

  • Sanitize name (IE for attribute) in same manner that Rails sanitizes
    the id attribute to fix a11y issue with for and id mismatch
  • Fix loading of ActionView helpers in combination with RSpec and rails-controller-testing. (see rails-controller-testing/issues#24)

Features:

  • Add support for input-group-sm and input-group-lg in prepend/append (#226, @rusanu)
  • Added option to prevent the 'required' CSS class on labels (#205, @LucasAU)
bootstrap_form - 2.4.0

Published by mattbrictson over 8 years ago

This version is ready to use with Rails 5.0.0!

Bugfixes:

  • Minor README corrections (#184, @msmithstubbs)
  • Fix alias_method_chain deprecation warnings when using Rails 5
  • Allow form_group to work with frozen string options

Features:

  • Allow primary button classes to be overridden (#183, @tanimichi)
  • Allow to pass a block to select helper in Rails >= 4.1.0 (#229, @doits)
bootstrap_form - Release v2.3.0

Published by potenza over 9 years ago

Bugfixes:

  • Use #underscore, not #downcase for help text scope (#140, @atipugin)
  • Radio button and checkbox labels will now include the disabled class as needed. (#156, @ScottSwezey)
  • Fixed issue with setting offset in form_group without label in horizontal layout
    when form uses non-default label_col
  • Fixed wrapper options (#153, @veilleperso)
  • Fix errors on non-ActiveRecord setups (#200, @sgnn7)

Features:

  • Allow users to display validation errors in labels (#144, @timcheadle)
  • Use humanized attribute name in label errors (#146, @atipugin)
  • Allow to skip label rendering (#145, @atipugin)
  • Added a required CSS class for labels with required attributes (#150, @krsyoung)
  • Added option to customize labels' class.
  • Allow callable value_method and text_method for collection_check_boxes and collection_radio_buttons (#199, @shadwell)
bootstrap_form - Release v2.2.0

Published by potenza about 10 years ago

Bugfixes:

  • Fixed an exception raised when form_group block returns nil (#111)
  • Fixed an exception on human_attribute_name when using bootstrap_form_tag (#115)
  • Set offset in form_group without label in horizontal layout (#94, @datWav)
  • Fixes an offset bug in form_group without a given label in horizontal layout (#130, @datWav)
  • Fixed bug where collection_check_boxes doesn't work if all are unchecked (#116, @burnt43)

Features:

  • Added the ability to append/prepend buttons (@retoo)
  • Added support for time_zone_select
  • Accept multiple values, and objects as well, on collection_check_boxes
    checked option (#114)
  • Added support for hidding attribute name in errors_on helper (@datWav)
  • Added support for additional class to the wrapper form_group by a field (@datWav)
  • Support showing error summaries when inline_errors is enabled (@rosswilson)
  • Name is now optional when creating static controls
  • Keep original form helper methods with _without_bootstrap suffix (#123, @a2ikm)
  • Added glyphicon support
  • Added i18n support for help messages (#122, @huynhquancam)
  • Added the ability to pass any attributes to wrapper (#136, @atipugin)
  • Split monolithic test file into several smaller files (#141, @spacewander)
  • Added role="form" attribute to forms (#142, @spacewander)
Package Rankings
Top 0.85% on Rubygems.org
Badges
Extracted from project README
Ruby Gem Version
Related Projects