the rest of erb converted to haml