heartcombo--simple_form/lib
Jason Petersen 0332313300 Fix handling of 'size' attribute on numeric inputs
Validators complain that SimpleForm's numeric elements have a `size`
attribute. According to the [spec][1], `input` elements with a `type`
of `number` must not specify a `size`. This change removes the `size`
option, and updates an existing unit test to guard against regressions.

Users may still provide a `size` option manually, though it may produce
invalid markup in certain situations.

[1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/number-state.html#number-state
2011-08-25 19:42:37 -07:00
..
generators/simple_form Simplified generator by using directory action 2011-07-03 14:44:52 +01:00
simple_form Fix handling of 'size' attribute on numeric inputs 2011-08-25 19:42:37 -07:00
simple_form.rb Preload only collection associations to avoid "to_a is obsolete" warnings 2011-05-16 23:17:09 -03:00