search for: schedule_form

Displaying 1 result from an estimated 1 matches for "schedule_form".

2009 Oct 06
1
Problems Processing multiple form elements generated by javascript actions
...User#_schedule.html.erb <div class="schedule"> <% new_or_existing = schedule.new_record? ? ''new'' : ''existing'' %> <% prefix = "user[#{new_or_existing}_schedule_attributes][]" %> <% fields_for prefix, schedule do |schedule_form| -%> <%= error_messages_for :schedule, :object => schedule %> <p><%= schedule_form.collection_select :market_id, Market.all, :id, :name, {:prompt => true} %></p> <p><%= link_to_function "- Remove Market", "$(this).up ('...