Moving some HTML to view