partial haml fork