Rafael Mendonça França
ceedec7edc
Fix collection_radio_buttons with the option :checked
with value of
...
`false`
2012-12-26 23:00:31 -03:00
Vasiliy Ermolovich
e0aadf12e3
check checkboxes with array of strings as :checked option
2012-05-05 20:34:06 +03:00
Carlos Antonio da Silva
a10ed70999
Allow collection helpers with block to access current object in the collection
...
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.
2012-02-13 22:48:48 -02:00
Rafael Mendonça França
5d8191a263
Remove default class to collection_check_boxes and
...
collection_radio_buttons
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 14:52:59 -02:00
Carlos Antonio da Silva
0f23426155
Allow collection radio_buttons/check_boxes to access current text/value
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 14:52:33 -02:00
Carlos Antonio da Silva
f506c8063b
Add changelog, docs and guides entries
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 14:52:15 -02:00
Carlos Antonio da Silva
17d214a1d4
Create a Builder factory class to use with collection helpers + block
...
This will make it easy for the user to handle how check box/radio and
labels should be generated, abstracting any text/value/default html
options required to make it work.
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:24 -02:00
Carlos Antonio da Silva
b17be2938c
Remove collection_wrapper* and item_wrapper* options
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:24 -02:00
Carlos Antonio da Silva
e39f8a2ccc
Use @output_buffer variable instead of concat in tests
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:23 -02:00
Rafael Mendonça França
6028c1549f
Implement skipped test
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:23 -02:00
Rafael Mendonça França
21eba34718
Add collection_radio_buttons and collection_check_boxes to FormBuilder
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:23 -02:00
Rafael Mendonça França
3312cdb0bb
Change Tag class to Category since there is another Tag class
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:22 -02:00
Carlos Antonio da Silva
7af0ec75d0
Add collection_check_boxes helper
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:22 -02:00
Carlos Antonio da Silva
9323fb6057
Create collection_radio_buttons helper
...
[Carlos Antonio da Silva + Rafael Mendonça França]
2012-02-02 09:40:22 -02:00