replace header and footer of application.erb.html with partials