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

¿Fue útil?

Solución

Maybe you should give https://github.com/GetJobber/recurring_select a shot?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top