Frage

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

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top