Increase min year for home built (#783)

This commit is contained in:
Fabien Le Frapper
2026-01-26 10:26:48 +01:00
committed by GitHub
parent 9119a635d1
commit 4d867c193c
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
<%= property_form.number_field :year_built,
label: t("properties.form.year_built"),
placeholder: t("properties.form.year_built_placeholder"),
min: 1800,
min: 1500,
max: Time.current.year %>
</div>

View File

@@ -17,7 +17,7 @@
<%= property_form.number_field :year_built,
label: "Year Built (optional)",
placeholder: "1990",
min: 1800,
min: 1500,
max: Time.current.year %>
</div>