Files
nairobi/app/models
Javi Martín 3b7948a139 Use a date field to select the date of birth
The default `date_select` used in fields presents an accessibility
issue, because in generates three select controls but only one label.
That means that there are two controls without a label.

So we're using a date field instead. This type is field is supported by
about 99% of the browsers, and we've already got JavaScript code
converting this field to a jQuery UI datepicker in case the browser
doesn't support date fields.

Note that, since we no longer need to parse the three date fields into
one, we can simplify the code in both the models and the tests.

Another slight improvement is that, previously, we couldn't restrict the
month and day controls in order to set the minimum date, so the maximum
selectable date was always the 31st of December of the year set by the
minimum age setting. As seen in the component test, now that we use only
one field, we can set a specific date as the maximum one.
2024-11-12 15:15:34 +01:00
..
2021-08-16 16:31:04 +02:00
2021-12-30 15:50:02 +01:00
2019-03-27 15:22:14 +01:00
2023-11-22 14:44:24 +01:00
2021-04-13 13:52:18 +02:00
2019-10-23 14:39:31 +02:00
2024-04-02 16:31:10 +02:00
2019-03-14 17:25:43 +01:00
2019-04-29 13:08:43 -05:00
2024-07-22 18:35:35 +02:00
2020-12-02 12:13:02 +01:00
2021-08-16 16:31:04 +02:00
2021-08-16 16:31:04 +02:00
2019-10-25 19:29:12 +02:00
2024-07-22 18:35:35 +02:00
2024-05-09 14:28:32 +02:00
2021-01-12 14:50:37 +01:00