replace attend.html to gtpl