Rafael Mendonça França
106e775150
Generate right for attribute for labels in collection inputs
...
It is wrong if namespace or index option is being used.
Fixes #1161
2014-11-25 18:00:18 -02:00
Rafael Mendonça França
97c5832473
Assert the html tag is not escaped
2014-07-10 14:09:15 -03:00
Rafael Mendonça França
0eab4247be
Merge pull request #1052 from megahbite/master
...
Add item label class option for collection inputs.
2014-06-23 11:30:56 -03:00
John Voloski
e878330f28
improve inputs's tests description and remove 'should'
2014-05-14 14:19:06 -03:00
Megan Bowra-Dean
ba6bc460ac
Add item label class option for collection inputs.
...
This allows checkbox and radio collections to be styled with the checkbox-inline and radio-inline styles from boostrap 3 when paired with setting the item wrapper tag to false.
2014-05-07 18:35:07 +12:00
Lauro Caetano
613cf4bf26
Add test case for keys prefixed with _html keys and a string value.
2014-04-04 17:14:39 -03:00
Lauro Caetano
6eae2069dc
Add support to html markup in I18n options.
...
Closes #764 .
2014-04-04 14:51:21 -03:00
Ricardo de Cillo
f24c3d9e73
Add tests to make sure that nested radian style do not generate invalid html
2014-03-26 22:16:40 -03:00
Erich Kist
8980edb5d7
Fix tests
2013-12-09 11:11:54 -02:00
Erich Kist
e8e1973d17
Merge branch 'master' into kb-ek-change-wraper-collection
...
Conflicts:
CHANGELOG.md
lib/simple_form/tags.rb
2013-12-09 11:11:42 -02:00
Vasiliy Ermolovich
f2da72d80c
fix labels `for` attribute with nested boolean style
...
closes #948
2013-12-06 13:22:39 +03:00
Luiz HD Costa
8cbe943521
Allow not including input wrapper class
...
There could be faulty behavior when setting checkbox or radio class
to the input wrapper, as in Bootstrap 3.
Fixes #930
2013-11-26 21:01:16 -02:00
Erich Kist
82d91adf93
CollectionInput will always use item_wrapper_tag
2013-11-26 20:53:51 -02:00
Erich Kist
958bcf4a32
Add attribute for to label in collection extension
2013-11-18 18:01:00 -02:00
Vasiliy Ermolovich
e264a43dfe
collection tags accept html attributes as the last element of collection
2013-07-22 22:33:49 +03:00
Carlos Antonio da Silva
1c6ca9e1f7
Stylistic improvements
2013-04-13 19:52:01 -03:00
Cameron Cundiff
a15b4700ff
Test aria-required on collection radio button input.
...
[#780 ]
2013-04-07 13:54:45 -04:00
Renato Mascarenhas
34312c9fbc
Use 1.9 hash style on code and docs.
2013-01-28 19:02:59 -02:00
Rafael Mendonça França
548f1bb144
Remove deprecated code
2012-12-26 23:38:08 -03:00
Carlos Antonio da Silva
8d9e67bdce
Add tests for item_wrapper_class config
2012-01-27 17:51:56 -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
b21e3c57e6
Force :label as item wrapper tag when using nested boolean config
...
Use original config for backwards compatibility, and force label as item
wrapper tag in collection radio buttons / check boxes when using nested
boolean, to match boostrap requirements.
2012-01-27 17:47:48 -02:00
Carlos Antonio da Silva
26f3c20f1a
:radio is not :radio_buttons
...
Makes the API more consistent with :check_boxes, and improves
compatibility with bootstrap collections by avoiding :radio namespace
collision.
2012-01-27 17:47:48 -02:00