<div id="new_campaign"
 <%render :partial =>'new_campaign_partial'%>
 </div>

 <%= link_to_function "Add a campaign" do |page|
    inser_html :bottom, :new_campaign, :partial=>'new_campaign_partial'
   end%>



the partial is named new_campaign_partial.rhtml. It has just the html 
code for creating certain text fiels and calendar

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to