heartcombo--simple_form/lib
Volmer Soares fb1f52dbc5 Support to date, datetime and time inputs.
I changed `DateTimeInput` to support the new HTML5 form helpers that
comes with Rails 4 (`date_input`, `datetime_input` and `time_input`)
instead of rendering datetime selects:

For example, this input:
```erb
<%= f.input :born_on, as: :date %>
```
Will render:
```html
<input id="user_born_on" name="user[born_on]" type="date" />
```

Datetime selects are still present, but only when HTML5 compatibility
is disabled. It's also possible to render selects even with HTML5 on,
by setting the `html5` option to false.

If we wanted to use an old date select on the example above, we should do:
```erb
<%= f.input :born_on, as: :date, html5: false %>
```

Closes #844.
2013-11-13 14:44:42 -02:00
..
generators/simple_form Update Bootstrap references URLs and name 2013-11-08 10:38:06 -02:00
simple_form Support to date, datetime and time inputs. 2013-11-13 14:44:42 -02:00
simple_form.rb Add configuration to add class globally to inputs. 2013-08-14 20:08:28 -03:00