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:

--------------------------------------------------------------------
<h1>Patent Details</h1>

<%if @patent%>
  <%= render "patent" %>
  <br/>
  <br/>
  <br/>
  <br/>
  <h2>Family Members</h2>
    <br/>
    <%= 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:
--------------------------------------------------------------------
<h1>Patent Details</h1>

<%if @patent%>
  <%= render "patent" %>
  <br/>
  <br/>
  <br/>
  <br/>
  <h2>Family Members</h2>
    <br/>
    <%= render "familymembers" %>

<%end%>
-----------------------------------------------------------------

It doesn't matter if the page has to be reloaded with that link. The
different partials are using the same controller and just displaying a
normal XML.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to