Add @resource to file edit templates