Add replace into view template