Yeah it would. I wrote the code looking at rails form builder version (which uses @object). I'll change it.