make sure edit template displays errors
add header partial