simple_form
simple_form copied to clipboard
Fix DatetimeInput so it respects html5 wrapper configuration
Bug fix for #1739
I reorganized the tests a little bit. Tests which should generate html5 inputs were consolidated under DateTimeInputWithHtml5Test
and tests which shouldn't generate html5 inputs were consolidated under DateTimeInputWithoutHtml5Test
.
I also removed some unnecessary calls to swap_wrapper
since the default wrapper supports optional use of the html5 component.