How to open scaffold show, edit, new etc in iframe

I am new in rails, trying to open scaffold create new, show, edit etc in
the iframe on the same page.

can anyone tell let me know how to do that.

Thanks a bunch.

op

Hi Omkar, please provide the code snippet that you’re trying to use so
that we can better assist you.

-Conrad

Following is the code from the list.rmtml. I am trying to redirect
link_to ‘Show’, ‘Edit’ to iframe which is at the bottom of the
list.rhtml as shown below

===============================================================================
start of list.rmthl

Template Manager <% for column in tmplt.content_columns %> <% end %>

<% for tmplt in @tmplts %>

<% for column in tmplt.content_columns %> <% end %> <% end %>
Template(s)
<%=h tmplt.send(column.name) %><%= link_to 'Show', {:action => 'show', :id => tmplt} %> <%= link_to 'Edit', :action => 'edit', :id => tmplt %> <%= link_to 'Destroy', { :action => 'destroy', :id => tmplt }, :confirm => 'Are you sure?', :method => :post %>

<%= link_to ‘Previous page’, { :page => @tmplt_pages.current.previous }
if @tmplt_pages.current.previous %>
<%= link_to ‘Next page’, { :page => @tmplt_pages.current.next } if
@tmplt_pages.current.next %>


<%= link_to 'Create New Template', :action => 'new' %>
=============================================================================== eof list.rhtml ===============================================================================

Hi, the following site should be helpful to you:

Good luck,

-Conrad

Thanks Conrad,

I tried the way it is mentioned in the site but could not succeed.
Probably i am missing something, i will keep on hunthing.

If you guys find any other implementation in that area, let me know

Cheers
–Omkar