Move flash into base.html