Displaying 1 result from an estimated 1 matches for "add_schedule_link".
2009 Oct 06
1
Problems Processing multiple form elements generated by javascript actions
...;ll see that I''m following Ryan''s
tutorial very closely. One area where I depart from it is the
checkboxes, which I implemented based on the Rails API fields_for
method examples.
User#Edit view:
<%= error_messages_for :user %>
<% form_for @user do |f| %>
<%= add_schedule_link "+ Add another market" %>
<div id="schedules">
<%= render :partial => ''schedule'', :collection =>
@user.schedules %>
</div>
<%= f.submit ''Update My Profile'' %>
<% end %>
User#_schedule.html...