refactor the application html erb file with a partial