On Fri, Jan 25, 2013 at 3:47 PM, suchi gupta <[email protected]> wrote:

> <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%>
>

If I remember correctly, link_to_function does not accept a block


>
>
>
> 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.
>
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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