Move flash rendering into a partial

This will allow themes to override it without overriding the whole
default layout.