I’m trying to create a datetime select form and in the minutes fields I don’t want to show every minute (00…59), instead, I would like to show only 00, 15, 30 and 45 minutes. Do you have any idea how can I do that? I tried to do something similar like I did for years where I allowed only 2023 to be selected but it doesn’t work for minutes.
<%= datetime_select offer, :task_date, builder: fn b -> %> Date: <%= b.(:day, ) %> / <%= b.(:month, ) %> / <%= b.(:year, [options: ["2023": 2023]]) %> Time: <%= b.(:hour, ) %> : <%= b.(:minute, ) %> <% end %>