Hi!
I don't quite understand your problem, but I'm giving it a shot anyway Somewhere in an erb template, you can call render :partial => 'foo' multiple times. If you want to provide different content to your partial, you can supply local variables with :locals => {:foo => bar}.
Hope this helps.
// Wouter