Convert question form to haml