style view templates including flash messages