add flash partial to layou