add form into template