Topic: calling a partial as a link

I have two databases, cities and venues. I have created the new.html.rb venue page as a partial in the cities view directory as _new_venue.html.rb. the venue database has city_id as an attribute, this will be used to relate venues to their related city.

This partial is then called in the cities show.html.rb as;

<%= render :partial=>"new_venue", :locals=>{:venue=>>} %>

this means that the city id is already filled in with the related city id to reduce errors.

I'm trying to change it so the partial is a link rather than displayed in the show.html.rb. So the user clicks the link and the partial is displayed with the right city_id already filled in.

Thanks in advance.