use phased template rendering for injecting csrf token into cached list item