add edit and delete at templateeditpage

add edit and delete at templateeditpage