Render partial or view with link_to

Hi,

I am a Rails newbie!

I have a web app for patent search. On view just shows me the details
of one patent and his family. (That are just other patents connected
with that patent!)

My view looks like this:


Patent Details

<%if @patent%>
<%= render “patent” %>







Family Members


<%= render "familymembersshort" %>

<%end%>

I also have a partial called ‘familymembers’, which gives more details
on the family members. How can I get a link on that page that just
renders my detailed partial/view. The result should be just like this:

Patent Details

<%if @patent%>
<%= render “patent” %>







Family Members


<%= render "familymembers" %>

<%end%>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs