Moved alerts HTML code to base.html, so its global