make template name the edit button; make admin button conditional on
user being admin