c27b2da90b
current year + 50] (or [entered_date; current_year + 50] if old date already entered) because: The type_de_champ Datetime is used for close future dates and very close past dates (for accident declaration for ex.) The select currently has a range from 1950 to 2100, so 70+ years not supposed to be used, leading to: - many bad data entered (0000 or 1950 to not scroll) - making it difficult for users to give the proper date (current date is lost in the middle of 149 others) so risk to be lazy and select a random one or genuinely make a mistake |
||
---|---|---|
.. | ||
application_helper.rb | ||
attachment_upload_helper.rb | ||
champ_helper.rb | ||
commentaire_helper.rb | ||
conservation_de_donnees_helper.rb | ||
demande_helper.rb | ||
devise_helper.rb | ||
dossier_helper.rb | ||
dossier_link_helper.rb | ||
etablissement_helper.rb | ||
flipper_helper.rb | ||
html_to_string_helper.rb | ||
mailer_helper.rb | ||
messagerie_helper.rb | ||
notice_url_helper.rb | ||
number_helper.rb | ||
procedure_helper.rb | ||
service_helper.rb | ||
string_to_html_helper.rb | ||
tableau_de_bord_helper.rb | ||
tabs_helper.rb |