Fixed bug in form_for