Rewrites the alerts partial for the styleguide. Fixes #42.