aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tags/collection_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix collection_check_boxes and collection_radio_buttons when using localRafael Mendonça França2012-02-261-0/+1
| | | | variables in the form builder
* Allow collection helpers with block to access current object in the collectionCarlos Antonio da Silva2012-02-131-5/+6
| | | | | | | | | | This gives a lot more flexibility to the user, for instance to generate a collection of check boxes and labels, allowing to add custom classes or data-* attributes to the label/check_box using another object attribute. This basically mimics options_for_select functionality that accepts a third option for each item to generate html attributes for each option.
* Allow collection radio_buttons/check_boxes to access current text/valueCarlos Antonio da Silva2012-02-021-0/+2
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Allow proc for value/text method in collection_selectCarlos Antonio da Silva2012-02-021-4/+0
| | | | | | And options_from_collection_for_select as well. [Carlos Antonio da Silva + Rafael Mendonça França]
* Move collection radio buttons / check boxes back to FormOptionsHelperCarlos Antonio da Silva2012-02-021-8/+6
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Extract common collection helpers to a module to avoid too much inheritanceCarlos Antonio da Silva2012-02-021-0/+84
[Carlos Antonio da Silva + Rafael Mendonça França]