make repeated static view to partial