I don't think it should be failing... what happens?

- Nathan

s.ross wrote:
> I have a case where this works:
>
> %td{:class => @row_class}
>    = check_box_tag :approved, 1, post_list_row.approved, {:onclick =>  
> "new Ajax.Request('#{url_for(:controller => 'posts', :action =>  
> 'toggle_approved', :id => post_list_row[:id])}')"}
>
> But this fails:
>
> %td{:class => @row_class}= check_box_tag :approved, 1,  
> post_list_row.approved, {:onclick => "new Ajax.Request('#{url_for 
> (:controller => 'posts', :action => 'toggle_approved', :id =>  
> post_list_row[:id])}')"}
>
> I prefer the latter construct. Any reason it might be failing that  
> I'm not seeing?
>
> Thanks,
>
> Steve
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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 this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to