I have a partial, in my main layout, application.html.erb, the partial
appears as follows:
<% form_for current_associate, :html => {:name => 'whereaboutsform'}
do |f| %>
<%= f.label :inoutexplanation, current_associate.nice_to_s << "
whereabouts:" %><br />
<%= f.text_field :inoutexplanation %>
<%= f.submit "Submit" %>
<% end %>
The partial uses my associates table. This partial exists in a div at
the top of all pages, regardless of what tale is presently being
displayed by AS. However, when someone clicks "Submit", the table
being displayed then reverts to the associates table, in list view.
What would be a clean way (from an AS perspective) to prevent this?
Thanks. -Janna B.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---