You use person_form var name here, yet |f| in line 1195. Could they be made consistent?