added edit tab for admin in tpl file