added edit/view tmpls