form_for helpers should be expressions, not scriptlets.