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}.
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
Sorry, I realise I wasn’t very clear. As often happens, minutes after
seeking help here I managed to find the answer:
Thanks!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.