views: alert rewritten to haml

The app/views/alert/* was rewritten from erb to haml
An embedded for loop was replaced with .each()