repair more html code, change forms, views about template_add interface.