Add attachment template