changed erb templates to haml