Moving common html to layout