Converted templates to haml