converting board form to haml