Forum: Ruby on Rails Using HAML, form_remote_tag inside partial from layout dupli

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Clifford H. (Guest)
on 2007-05-07 13:55
(Received via mailing list)
I have an application.haml that renders partials,
and the partials use form_remote_tag. f_r_t returns
the *whole partial again*, not just the form fragment.

This has to be a bug doesn't it?

I diagnosed it by putting the form_remote_tag into
a helper and printing the return value.

Clifford H..
Steve R. (Guest)
on 2007-05-07 20:39
(Received via mailing list)
If you're doing:

= form_remote_tag ... do

then you will get odd results.


- form_remote_tag ... do

BTW: This is completely consistent with rhtml behavior. User <% %> in
rhtml, not <%= %> for the form_tag and form_remote_tag helpers.
This topic is locked and can not be replied to.