How to create an onsite registration templete