converted erb templates to haml