template for editing resource metadata