Changed form_tag to form_for for create and edit