Rendering with a flash message