Maybe you should give https://github.com/GetJobber/recurring_select a shot?
Using schedule_attributes with ice_cube to populate a form
-
28-11-2021 - |
Pregunta
I'm using Schedule Attributes with Ice Cube to schedule some events with a form, I need to populate the form in editing as in this example:
<%= form_for(@event) do |f| %>
[...]
<%= f.fields_for :schedule_attributes do |schedule| %>
Start Date <%= schedule.datetime_select :start_date %><br>
<% end %>
[...]
<% end %>
Can someone show me how to proceed?
Thanks
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow