render template with