Commit Graph

21 Commits

Author SHA1 Message Date
Rafael Mendonça França afec50a5dc CHANGELOG 2012-02-16 15:32:42 -02:00
Carlos Antonio da Silva 612c0067cf Change default generator classes to .form-inputs and .form-actions
Makes it easier to integrate with bootstrap. Related to #424
2012-02-14 23:39:47 -02:00
Carlos Antonio da Silva 26a959c1af Changelog [ci skip] 2012-02-14 08:34:44 -02:00
Carlos Antonio da Silva e9bb32838b Bring the same concept of "Builder" to collection radio buttons/check boxes
This increases flexibility allowing us to yield only the builder to the
user and hiding specific details of the implementation inside it, also
reusing arguments we already know, such as attribute name and value.

This commit also adds the ability to access the current object/item in
the given collection within the builder instance, giving extra
flexibility to generate custom attributes to label/radio buttons/check
boxes.

Besides, this will make it easy for us to migrate to Rails 4 later as we
are sticking with the same concept here.
2012-02-13 23:57:56 -02:00
Rafael Mendonça França 6077895e2e CHANGELOG 💣 2012-02-10 11:32:51 -02:00
Rafael Mendonça França 5802dec9a1 CHANGELOG 2012-02-10 11:31:57 -02:00
Rafael Mendonça França f67bdbb122 Remove error_notification_id configuration 2012-02-03 11:12:06 -02:00
Rafael Mendonça França da92c45953 Release 2.0.0.rc 2012-02-01 15:15:34 -02:00
Carlos Antonio da Silva fb0360d50a Make boolean input tag generate valid html5 when using nested style
This keeps Rails functionality by adding the required hidden checkbox
which will send an "unchecked value" when checkbox is not checked.
2012-01-30 16:46:37 -02:00
Carlos Antonio da Silva 634c4430b9 Deprecate :radio input type and collection_radio helper, update changelog 2012-01-27 17:49:09 -02:00
Carlos Antonio da Silva 0b34519df2 Do not generate hidden check box field when using nested boolean style
It is considered invalid markup in HTML5. This will only work in
Rails > 3.2.1 (not released at this time). If you really care that much
about this, please use Rails 3-2-stable branch for now, that contains a
backported fix from master.

Backport commit: 2e5ec3b399
More info in #215
2012-01-27 10:50:45 -02:00
Carlos Antonio da Silva 7521f0393f Some docs and changelog [ci skip] 2012-01-26 17:43:19 -02:00
Rafael Mendonça França c5db89c5b6 Use default format at CHANGELOG 2012-01-24 19:31:51 -02:00
Carlos Antonio da Silva eb72c1afa2 Update Readme and Changelog 2012-01-24 15:36:40 -02:00
Carlos Antonio da Silva e4cd411610 Update Changelog, add Readme info about grouped collection 2012-01-24 14:19:45 -02:00
Carlos Antonio da Silva 2d44322f59 Changelog 2012-01-10 19:01:23 -02:00
Carlos Antonio da Silva 2409933a47 Update CHANGELOG 2012-01-05 08:47:48 -02:00
José Valim 6e4431f7c6 Merge pull request #379 from plataformatec/readonly
Add readonly component
2011-12-04 20:56:59 -08:00
Rafael Mendonça França f36ec7b0d0 Update CHANGELOG 2011-12-05 00:00:12 -02:00
Rafael Mendonça França cc5fd25e48 Add readonly component. Closes #378 2011-12-04 23:41:54 -02:00
Rafael Mendonça França c25d6c83c4 Update CHANGELOG 2011-12-03 13:15:36 -02:00