Factorize sidebar content into a separate haml template