Question

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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top