Update 2023 -> 2024

This commit is contained in:
2024-01-01 19:32:20 +02:00
parent 7c5de39232
commit 546780b2e1

View File

@@ -13,7 +13,7 @@
<%= label f, :date %>
<div class="date-picker" >
<%= date_select f, :date, default: DateTime.now!("Etc/UTC"), builder: fn b -> %>
<%= b.(:day, []) %> / <%= b.(:month, options: [{"01", "1"}, {"02", "2"}, {"03", "3"}, {"04", "4"}, {"05", "5"}, {"06", "6"}, {"07", "7"}, {"08", "8"}, {"09", "9"}, "10", "11", "12"]) %> / <%= b.(:year, options: ["2023"]) %>
<%= b.(:day, []) %> / <%= b.(:month, options: [{"01", "1"}, {"02", "2"}, {"03", "3"}, {"04", "4"}, {"05", "5"}, {"06", "6"}, {"07", "7"}, {"08", "8"}, {"09", "9"}, "10", "11", "12"]) %> / <%= b.(:year, options: ["2024"]) %>
<% end %>
<%= error_tag f, :date %>
</div>