Update 2023 -> 2024
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<%= label f, :date %>
|
<%= label f, :date %>
|
||||||
<div class="date-picker" >
|
<div class="date-picker" >
|
||||||
<%= date_select f, :date, default: DateTime.now!("Etc/UTC"), builder: fn b -> %>
|
<%= 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 %>
|
<% end %>
|
||||||
<%= error_tag f, :date %>
|
<%= error_tag f, :date %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user